summaryrefslogtreecommitdiffstats
path: root/classes/use-imx-security-controller-firmware.bbclass
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-05-16 13:58:31 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2022-05-16 14:01:58 -0500
commitdc3cb910f49fc50de9539902b4ecef159603b426 (patch)
tree971107276031422199eda1179b23b787bba6c082 /classes/use-imx-security-controller-firmware.bbclass
parent7d6441d30d3f47b74238b479241c94b5e89a08e8 (diff)
downloadmeta-freescale-dc3cb910f49fc50de9539902b4ecef159603b426.tar.gz
imx-atf: Suppress array-bounds error
The array-bounds error is triggered now in cases where it was silent before, causing errors like: ``` plat/imx/imx8m/hab.c: In function 'imx_hab_handler': plat/imx/imx8m/hab.c:64:57: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds] 64 | #define HAB_RVT_CHECK_TARGET_ARM64 ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x18)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` It appears that these new cases will be silenced soon in gcc [1], so for now just silence the warning locally as workaround. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578#c39 Fixes: #1084 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'classes/use-imx-security-controller-firmware.bbclass')
0 files changed, 0 insertions, 0 deletions