ipw2200: check for allocation failures
authorDan Carpenter <error27@gmail.com>
Mon, 4 Oct 2010 12:31:46 +0000 (14:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:35:29 +0000 (13:35 -0400)
commit2ee4e27cf25ab647137713ca16377d8d9e138ea2
tree32a064fbd7cc4086d320a0889936aa4a3f5560aa
parent9eba612549f575d7dccda672ce932e15e7392d83
ipw2200: check for allocation failures

If kzalloc() fails then return should return with -ENOMEM.

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