]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 22 Oct 2013 21:53:28 +0000 (14:53 -0700)
commit9e86be78e1c611b160ef8124d3b4fa4003fbb528
tree0d2de38273d71049b90ebd6ac563d1dab6e991f8
parent9720b3e6d531d8d32a52853eff1880307ca926fc
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