diff options
author | Christoph Fritz <chf.fritz@googlemail.com> | 2010-08-03 10:54:20 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-04 19:28:37 (GMT) |
commit | 93c0584ca92a76bd458c7fd505b1747901315156 (patch) | |
tree | 478cf17692d48d846a1046e8260f04d75967475b /drivers/usb | |
parent | c8f3b7213342d905cbb75d6c8820d9141205f3a0 (diff) | |
download | linux-93c0584ca92a76bd458c7fd505b1747901315156.tar.xz |
wireless: ipw2100: check result of kzalloc()
If kzalloc() fails return with -ENOMEM from ipw2100_net_init() which is
called by register_netdev.
CC: Dan Carpenter <error27@gmail.com>
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions