]> git.karo-electronics.de Git - linux-beck.git/commit
char/pcmcia: add some error checking in scr24x_read()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Nov 2016 10:46:23 +0000 (13:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 19:43:12 +0000 (20:43 +0100)
commit999e4bf1d736611b84b6b695531ce29b9319241f
tree5c9693fc53320cdce35d0a98c225ac8f89807887
parent7f1a5f044e27838a94a252b0e038a0091c037535
char/pcmcia: add some error checking in scr24x_read()

The "ret = " assignment seems to have accidentally been left off.

Fixes: f2ed287bcc90 ("char/pcmcia: add scr24x_cs chip card interface driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/pcmcia/scr24x_cs.c