b43: check for allocation failures
authorDan Carpenter <error27@gmail.com>
Thu, 9 Jun 2011 07:09:34 +0000 (10:09 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jun 2011 18:57:53 +0000 (14:57 -0400)
commit5b49b35a671e59c16c33611ea2d5650438388663
treed2d856567bfd58b9ac86651c586ded1731ef981d
parent287546df342daaa146c840ce26b3ed012a055de5
b43: check for allocation failures

Add some error handling if the allocation fails.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/bus.c
drivers/net/wireless/b43/main.c