]> git.ipfire.org Git - people/ms/linux.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)
committerJiri Slaby <jslaby@suse.cz>
Sun, 8 Feb 2015 19:01:52 +0000 (20:01 +0100)
commit5738a8422143d469b2b274f3ea2540cd18cd7d76
tree008e2650433cbc164590c292cb68111ee3e10bdc
parent59383099795ffbf2fcedba21df919c8d662c3f42
can: kvaser_usb: Send correct context to URB completion

commit 3803fa6977f1de15fda4e8646c8fec97c8045cae upstream.

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>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/can/usb/kvaser_usb.c