]> 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)
commit36ce6baa9be3585e623251ddd704155b8e995849
tree49921e4b2dd35b965e682d6caac8b28f53cf548b
parent178e187cce495269e675ef8ea5e6770e416f81ec
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