]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Feb 2015 06:35:48 +0000 (22:35 -0800)
commit4a2c136417e2e16fedc8e426cc0a739396bad132
treea9a50c0e729985132f1948c4945ef8d86473f0bf
parent020c2f9f79e798d77ef9002a412c92659fff4996
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/usb/kvaser_usb.c