]> git.baikalelectronics.ru Git - kernel.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>
Thu, 7 Nov 2013 07:32:57 +0000 (23:32 -0800)
commitae9ec39b4bfb355a8198dd43812dae8af1594bf8
tree57b873a3b0087676ceb10d23a7b15327f146efc8
parent7d587362d525887719ba03cc2ece861654ca0708
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