staging: rtl8192u: check return value of rtl8192_read_eeprom_info
authorSalah Triki <salah.triki@acm.org>
Wed, 4 May 2016 03:42:44 +0000 (04:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:49:02 +0000 (19:49 -0700)
commit4dc2abb852ca447ee5f6836ed410676ee0447c33
treef993beb152bf23cc33d41d327a2c7607a074a171
parenteafe8261c1f82aa9b7da9fc6f6a4ba624ea708b9
staging: rtl8192u: check return value of rtl8192_read_eeprom_info

The call of rtl8192_read_eeprom_info may fail, therefore its return
value must be checked and propagated in the case of error

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