]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: propagate errors in write_nic_word
authorSalah Triki <salah.triki@acm.org>
Wed, 4 May 2016 03:42:47 +0000 (04:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:49:02 +0000 (19:49 -0700)
commit5b6b91a636da09271c69afe7e4cb29c10604e781
tree026620e946de8ebb3785858dcd4c3ea7b23031bd
parent5e2f908c9826f16d1153435db37445fa3e84064b
staging: rtl8192u: propagate errors in write_nic_word

Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_word from void to int.

Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U.h
drivers/staging/rtl8192u/r8192U_core.c