can: gs_usb: Zero-initialize flags
Subsystems (3)
PATCH 1/1 can: gs_usb: Zero-initialize flags
No information is deliberately sent here in host->device communications, but the open-source candleLight firmware echoes it back, which can result in the GS_CAN_FLAG_OVERFLOW flag being set and generating spurious ERRORFRAMEs.
--- drivers/net/can/usb/gs_usb.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/can/usb/gs_usb.c +1 -0
@@ -507,6 +507,7 @@ static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb, hf->echo_id = idx; hf->channel = dev->channel; + hf->flags =0 ; cf = (struct can_frame *)skb->data;
base-commit: d2f38a3c6507b2520101f9a3807ed98f1bdc545a
Signature · 1 line
2.20.1
Marc Kleine-Budde
maintainerQuoted 6 lines · Brian Silverman
No information is deliberately sent here in
host->devicecommunications, but the open-source candleLight firmware echoes it back, which can result in theGS_CAN_FLAG_OVERFLOWflag being set and generating spurious ERRORFRAMEs.Signed-off-by Brian Silverman <[email protected]>
Applied to linux-can/testing + opened an issue on github:
https://github.com/candle-usb/candleLight_fw/issues/87
Thanks,
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Marc Kleine-Budde
maintainerQuoted 10 lines · Marc Kleine-Budde
Quoted 6 lines · Brian Silverman
No information is deliberately sent here in
host->devicecommunications, but the open-source candleLight firmware echoes it back, which can result in theGS_CAN_FLAG_OVERFLOWflag being set and generating spurious ERRORFRAMEs.Signed-off-by Brian Silverman <[email protected]>Applied to linux-can/testing + opened an issue on github:
https://github.com/candle-usb/candleLight_fw/issues/87
BTW: Your [email protected] address fails:
| [email protected] | host aspmx.l.google.com [2a00:1450:400c:c0c::1a] | SMTP error from remote mail server after RCPT TO:<[email protected]>: | 550-5.2.1 The email account that you tried to reach is disabled. Learn more at | 550 5.2.1 https://support.google.com/mail/?p=DisabledUser o10si1930223wrh.555 - gsmtp
Should I change the author's email address to your gmail address?
regards,
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 9 lines · Marc Kleine-Budde
BTW: Your [email protected] address fails:
| [email protected] | host aspmx.l.google.com [2a00:1450:400c:c0c::1a] | SMTP error from remote mail server after RCPT TO:<[email protected]>: | 550-5.2.1 The email account that you tried to reach is disabled. Learn more at | 550 5.2.1 https://support.google.com/mail/?p=DisabledUser o10si1930223wrh.555 - gsmtpShould I change the author's email address to your gmail address?
I wrote it as part of my employment by Blue River, but am currently moving on to another job. The policy was to have my work email on the patch. Seems like the same situation whenever somebody uses a work email and then leaves that job, just in this case the timing is tighter than common. I think leaving it is best.
To be clear, contributing this was definitely authorized by the company, I just didn't get around to sending out the patch until almost my last day.
Thanks,
Brian
Marc Kleine-Budde
maintainerQuoted 17 lines · Brian Silverman
Quoted 9 lines · Marc Kleine-Budde
BTW: Your [email protected] address fails:
| [email protected] | host aspmx.l.google.com [2a00:1450:400c:c0c::1a] | SMTP error from remote mail server after RCPT TO:<[email protected]>: | 550-5.2.1 The email account that you tried to reach is disabled. Learn more at | 550 5.2.1 https://support.google.com/mail/?p=DisabledUser o10si1930223wrh.555 - gsmtpShould I change the author's email address to your gmail address?
I wrote it as part of my employment by Blue River, but am currently moving on to another job. The policy was to have my work email on the patch. Seems like the same situation whenever somebody uses a work email and then leaves that job, just in this case the timing is tighter than common. I think leaving it is best.
Quoted 3 lines
To be clear, contributing this was definitely authorized by the company, I just didn't get around to sending out the patch until almost my last day.
Ok. We should map that non working email address to working one, having non working email addresses in quite annoying when sending patches.
Basically there are two options:
1. Map your old bluerivertech.com address to a new address of yours, e.g. your gmail address.
2. Map the bluerivertech.com address to someone else (i.e. a real person) or a role account (e.g. [email protected]).
What do you prefer?
regards,
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 11 lines · Marc Kleine-Budde
Ok. We should map that non working email address to working one, having non working email addresses in quite annoying when sending patches.
Basically there are two options:
1. Map your old bluerivertech.com address to a new address of yours, e.g. your gmail address.
2. Map the bluerivertech.com address to someone else (i.e. a real person) or a role account (e.g. [email protected]).What do you prefer?
Map it to [email protected] please.
Thanks,
Brian