summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-05-16 13:58:31 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2022-06-16 16:53:22 -0300
commit5fe30678d5a49825b0474c8951e51aaca7cbcc82 (patch)
treec6a6f3bd3d051ecae587aaa45be41359d52acf50 /LICENSE
parent6752c742a2076b35c2e2e57538126c5cf0fdefc0 (diff)
downloadmeta-freescale-5fe30678d5a49825b0474c8951e51aaca7cbcc82.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> (cherry picked from commit dc3cb910f49fc50de9539902b4ecef159603b426)
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions