From ee682fdf249a980e2197aeef8d04351f4431f64c Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sat, 11 Feb 2023 23:17:27 +0200 Subject: [PATCH] bdk: l4t: minerva: don't rely on UB --- bdk/utils/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdk/utils/util.h b/bdk/utils/util.h index ebb8bd2..2ba268a 100644 --- a/bdk/utils/util.h +++ b/bdk/utils/util.h @@ -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);