can: kvaser_usb: Correct return value in printout
authorJimmy Assarsson <jimmyassarsson@gmail.com>
Tue, 24 Oct 2017 10:23:28 +0000 (12:23 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 24 Oct 2017 11:00:23 +0000 (13:00 +0200)
commit8f65a923e6b628e187d5e791cf49393dd5e8c2f9
tree60ba76f015b4c8c3ff1aadefd9b23cc9cf1044af
parent3a379f5b36ae039dfeb6f73316e47ab1af4945df
can: kvaser_usb: Correct return value in printout

If the return value from kvaser_usb_send_simple_msg() was non-zero, the
return value from kvaser_usb_flush_queue() was printed in the kernel
warning.

Signed-off-by: Jimmy Assarsson <jimmyassarsson@gmail.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/kvaser_usb.c