[PATCH] scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput

Tom Rini trini at konsulko.com
Wed Oct 30 20:01:07 CET 2024


On Wed, Oct 30, 2024 at 06:07:16AM +0100, Markus Volk wrote:

> Swig has changed language specific AppendOutput functions. The helper
> macro SWIG_AppendOutput remains unchanged. Use that instead
> of SWIG_Python_AppendOutput, which would require an extra parameter
> since swig 4.3.0.
> 
> /home/flk/poky/build-test/tmp/work/qemux86_64-poky-linux/u-boot/2024.10/git/arch/x86/cpu/u-boot-64.lds
> | scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’:
> | scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’
> |  5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
> |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> Signed-off-by: Markus Volk <f_l_k at t-online.de>

Ah, I see this has been merged upstream now as well. Rudi posted the
same patch to U-Boot a bit sooner, but since you have the change merged
upstream I'll apply yours shortly and give Rudi a Reported-by tag on the
commit as well, to try and be fair. Thanks!

So that patchwork/b4/etc pick it up:
Reported-by: Rudi Heitbaum <rudi at heitbaum.com>
Link: https://github.com/dgibson/dtc/pull/154

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241030/098d0544/attachment.sig>


More information about the U-Boot mailing list