File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,13 @@ struct can_priv {
84
84
85
85
/*
86
86
* get_can_dlc(value) - helper macro to cast a given data length code (dlc)
87
- * to __u8 and ensure the dlc value to be max. 8 bytes.
87
+ * to u8 and ensure the dlc value to be max. 8 bytes.
88
88
*
89
89
* To be used in the CAN netdriver receive path to ensure conformance with
90
90
* ISO 11898-1 Chapter 8.4.2.3 (DLC field)
91
91
*/
92
- #define get_can_dlc (i ) (min_t(__u8 , (i), CAN_MAX_DLC))
93
- #define get_canfd_dlc (i ) (min_t(__u8 , (i), CANFD_MAX_DLC))
92
+ #define get_can_dlc (i ) (min_t(u8 , (i), CAN_MAX_DLC))
93
+ #define get_canfd_dlc (i ) (min_t(u8 , (i), CANFD_MAX_DLC))
94
94
95
95
/* Check for outgoing skbs that have not been created by the CAN subsystem */
96
96
static inline bool can_skb_headroom_valid (struct net_device * dev ,
You can’t perform that action at this time.
0 commit comments