drivers: can: mcan: Fix flag overflow for some MCUs
The number of extended filters can be up to 15 for MCUs like the NXP LPC55Sxx series, so the flags don't fit into uint8_t. Fixes #53417 Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
parent
cff71c8d2b
commit
c8c0879963
|
@ -180,8 +180,8 @@ struct can_mcan_data {
|
|||
void *state_change_cb_data;
|
||||
uint32_t std_filt_rtr;
|
||||
uint32_t std_filt_rtr_mask;
|
||||
uint8_t ext_filt_rtr;
|
||||
uint8_t ext_filt_rtr_mask;
|
||||
uint16_t ext_filt_rtr;
|
||||
uint16_t ext_filt_rtr_mask;
|
||||
struct can_mcan_mm mm;
|
||||
bool started;
|
||||
void *custom;
|
||||
|
|
Loading…
Reference in a new issue