]> git.baikalelectronics.ru Git - kernel.git/commit
cw1200: handle allocation failure in wsm_event_indication()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Jun 2013 10:57:46 +0000 (03:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Jun 2013 18:41:26 +0000 (14:41 -0400)
commit35364274ce55576f9f46fbd8aff3bbb6fcfa8d18
treee76625abe3edceb21c8666d80674b9a9d17afd04
parenta696b8bf9c96a0cceefb6cf7919d6c110ec7b8a7
cw1200: handle allocation failure in wsm_event_indication()

Check for allocation failures and return -ENOMEM.  The caller
already expects it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/cw1200/wsm.c