]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: usbdux: fix errno (EL2NSYNC) check
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 25 Aug 2014 22:23:47 +0000 (15:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:20:50 +0000 (13:20 -0700)
commit25e9398734ebc1ae10028d92ff001b45ce3da67f
tree2f00bd735c509ecfb0683503ba8ce52f8ffc7e00
parentd77ac2c487a37da53e9dd4554a0d6ff1a210fdeb
staging: comedi: usbdux: fix errno (EL2NSYNC) check

These should both be checking the -errno.

Reported by: coverity
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbdux.c