]> git.baikalelectronics.ru Git - kernel.git/commit
can: kvaser_usb: Send correct context to URB completion
authorAhmed S. Darwish <ahmed.darwish@valeo.com>
Mon, 26 Jan 2015 05:22:54 +0000 (07:22 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 27 Jan 2015 07:55:08 +0000 (08:55 +0100)
commit5febda0e55cb9b07904fb6d39da5647712a90142
treec20ff3e045e6966a3356742eb8fd3aacc0602ed7
parent80747497bb1300ebf1dbd01dc801215f2c9967be
can: kvaser_usb: Send correct context to URB completion

Send expected argument to the URB completion hander: a CAN
netdevice instead of the network interface private context
`kvaser_usb_net_priv'.

This was discovered by having some garbage in the kernel
log in place of the netdevice names: can0 and can1.

Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/kvaser_usb.c