mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 11:01:06 -04:00
can: gs_usb: GS_CAN_FLAG_OVERFLOW: make use of BIT()
This patch converts the driver to use BIT() to define flags. Link: https://lore.kernel.org/all/20220309124132.291861-5-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
@@ -136,7 +136,7 @@ struct gs_device_bt_const {
|
||||
__le32 brp_inc;
|
||||
} __packed;
|
||||
|
||||
#define GS_CAN_FLAG_OVERFLOW 1
|
||||
#define GS_CAN_FLAG_OVERFLOW BIT(0)
|
||||
|
||||
struct gs_host_frame {
|
||||
u32 echo_id;
|
||||
|
||||
Reference in New Issue
Block a user