]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bd4797cb3ceac684cd3ee26adcc4cd60c9a03c3
treef993beb152bf23cc33d41d327a2c7607a074a171
parentc150b4761f367e6490add938a5feb5f07d662ad0
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