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
1 changed files with 2 additions and 2 deletions
|
@ -180,8 +180,8 @@ struct can_mcan_data {
|
||||||
void *state_change_cb_data;
|
void *state_change_cb_data;
|
||||||
uint32_t std_filt_rtr;
|
uint32_t std_filt_rtr;
|
||||||
uint32_t std_filt_rtr_mask;
|
uint32_t std_filt_rtr_mask;
|
||||||
uint8_t ext_filt_rtr;
|
uint16_t ext_filt_rtr;
|
||||||
uint8_t ext_filt_rtr_mask;
|
uint16_t ext_filt_rtr_mask;
|
||||||
struct can_mcan_mm mm;
|
struct can_mcan_mm mm;
|
||||||
bool started;
|
bool started;
|
||||||
void *custom;
|
void *custom;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue