]> code.ossystems Code Review - openembedded-core.git/commit
dtc: Fix array-bounds error
authorKhem Raj <raj.khem@gmail.com>
Sat, 27 Feb 2021 07:41:31 +0000 (23:41 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Mar 2021 11:12:12 +0000 (11:12 +0000)
commitcd4fe4ec658ce4861fc970149f78b0ca7fda8fe0
treed9bd4ea08d65a153b9a237bc84ecdb45372e1bbb
parente093eff9d94c02939ca398d59d66d1b1dbc8a12e
dtc: Fix array-bounds error

Fixes
| libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
|   251 |                 fdth->name = cpu_to_fdt32(val); \
|       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/dtc/dtc/0001-fdtdump-Fix-gcc11-warning.patch [new file with mode: 0644]
meta/recipes-kernel/dtc/dtc_1.6.0.bb