bdk: l4t: minerva: don't rely on UB

This commit is contained in:
CTCaer 2023-02-11 23:17:27 +02:00
parent 42859a2373
commit ee682fdf24

View file

@ -78,7 +78,7 @@ typedef struct _nyx_storage_t
u8 rsvd[SZ_8M - sizeof(nyx_info_t)];
nyx_info_t info;
mtc_config_t mtc_cfg;
emc_table_t mtc_table[10];
emc_table_t mtc_table[11]; // 10 + 1.
} nyx_storage_t;
u8 bit_count(u32 val);