]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: check return value of read_nic_word_E
authorSalah Triki <salah.triki@acm.org>
Wed, 4 May 2016 03:42:40 +0000 (04:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:49:02 +0000 (19:49 -0700)
commitab1467adc1da66a80fa62c895a23772c7dbd1d1f
tree49921e4b2dd35b965e682d6caac8b28f53cf548b
parent10585f50f7ea60fb6e490147a715da1393aa6f41
staging: rtl8192u: check return value of read_nic_word_E

The call of read_nic_word_E 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/r8180_93cx6.c