projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6bb251
)
can: gs_usb: GS_CAN_FLAG_OVERFLOW: make use of BIT()
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 19 Nov 2020 12:23:35 +0000
(13:23 +0100)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 10 Mar 2022 08:49:14 +0000
(09:49 +0100)
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>
drivers/net/can/usb/gs_usb.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/usb/gs_usb.c
b/drivers/net/can/usb/gs_usb.c
index
6231c34
..
23dba5c
100644
(file)
--- a/
drivers/net/can/usb/gs_usb.c
+++ b/
drivers/net/can/usb/gs_usb.c
@@
-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;