mtd: bcm47xxpart: handle malloc failures
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 13 Oct 2013 20:53:49 +0000 (22:53 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:57 +0000 (23:32 -0800)
commit99b1d1887fee36ef9ff5d2ee24f0cf3e8c172104
tree57b873a3b0087676ceb10d23a7b15327f146efc8
parent7e3019e364f1b6b9ce123e747addcdc96e8d74ae
mtd: bcm47xxpart: handle malloc failures

Handle return NULL in malloc.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/bcm47xxpart.c