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

The call of eprom_read may fail, therefore its return value must be
checked

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