[PATCH] test: cmd: fdt: Drop unused fdt_test_header_get() fdt parameter

Simon Glass sjg at chromium.org
Tue Mar 14 23:08:02 CET 2023

Hi Marek,

On Sat, 11 Mar 2023 at 09:29, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
> The 'fdt' parameter is not used anywhere in the function, drop it.
> This also should fix the following compiler warning in sandbox_spl:
> test/cmd/fdt.c:1159:9: warning: 'fdt_test_header_get' accessing 4096 bytes in a region of size 256 [-Wstringop-overflow=]
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
>  test/cmd/fdt.c | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)

OK, Tom has complained about this so I'll merge this into the
offending patch. I think it is a new-compiler thing.


More information about the U-Boot mailing list