Re: [PATCH V4] staging: rtl8192u: check return value of read_nic_word_E

2016-03-11 Thread Greg KH
On Tue, Mar 08, 2016 at 03:55:49AM +0100, Salah Triki wrote: > The call of read_nic_word_E may fail, therefore its return value must be > checked. That's good, but you are doing two different things here, fixing read_nic_word_E and then changing the return value of some functions that call that

[PATCH V4] staging: rtl8192u: check return value of read_nic_word_E

2016-03-07 Thread Salah Triki
The call of read_nic_word_E may fail, therefore its return value must be checked. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8180_93cx6.c | 30 +-- drivers/staging/rtl8192u/r8180_93cx6.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 157