Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
No information is deliberately sent in hf->flags 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. While there also initialize the reserved member with 0. Fixes: d08e973 ("can: gs_usb: Added support for the GS_USB CAN devices") Link: https://lore.kernel.org/all/[email protected] Link: candle-usb/candleLight_fw#87 Cc: [email protected] Signed-off-by: Brian Silverman <[email protected]> [mkl: initialize the reserved member, too] Signed-off-by: Marc Kleine-Budde <[email protected]>
- Loading branch information