staging: rtl8192u: propagate errors in write_nic_byte
authorSalah Triki <salah.triki@acm.org>
Wed, 4 May 2016 03:42:45 +0000 (04:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:49:02 +0000 (19:49 -0700)
commitba15f657cec028ac375c5ca3f901719b46a55cbd
tree0a0d15b0d299ee1a069f66d3c4572250d9abcccc
parent4dc2abb852ca447ee5f6836ed410676ee0447c33
staging: rtl8192u: propagate errors in write_nic_byte

Propagate errors from  kzalloc and usb_control_msg and change the
return type of write_nic_byte 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