can: Allwinner A10/A20 CAN Controller
Subsystems (2)
PATCH 1/1 can: Allwinner A10/A20 CAN Controller
This patch set (linux-next) fixes a bug in arbitration error reporting found by Dan Carpenter and the modinfo name (thx to Peter Koorsgard) of the module.
ef9bd57 general: fix driver info
e9d2d74 sun4i_can_err: fix arbitration lost error reporting
---
drivers/net/can/sun4i_can.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/can/sun4i_can.c +2 -2
@@ -601,7 +601,7 @@ static int sun4i_can_err(struct net_device *dev, u8 isrc, u8 status) stats->tx_errors++;if (likely (skb)) { cf->can_id |=CAN_ERR_LOSTARB ; - cf->data[0 ] = (alc &0x1f ) >>8 ; + cf->data[0 ] = (alc >>8 ) &0x1f ; } }
@@ -854,4 +854,4 @@ module_platform_driver(sun4i_can_driver);MODULE_AUTHOR ("Peter Chen <[email protected]>" );MODULE_AUTHOR ("Gerhard Bertelsmann <[email protected]>" );MODULE_LICENSE ("Dual BSD/GPL" ); -MODULE_DESCRIPTION (DRV_NAME "CAN driver for Allwinner SoCs (A10/A20)" ); +MODULE_DESCRIPTION ("CAN driver for Allwinner SoCs (A10/A20)" );
Marc Kleine-Budde
maintainerQuoted 5 lines · Gerhard Bertelsmann
This patch set (linux-next) fixes a bug in arbitration error reporting found by Dan Carpenter and the modinfo name (thx to Peter Koorsgard) of the module.
ef9bd57 general: fix driver info
e9d2d74sun4i_can_err: fix arbitration lost error reporting
^^^^^^^
These look like git commits. Can you please send the individual patches? Please adjust your subject to something like this: "can: sun4i: ....". If you want to track the people who reported the issue, you can add the tag:
Reported-by:
Quoted 1 line
Signed-off-by Gerhard Bertelsmann <[email protected]>
In the line(s) before your S-o-b.
regards,
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |