[PATCH] ARM: Allow pre-ARMv5 builds with ld.lld 16.0.0 and newer
Arnd Bergmann
arnd at arndb.de
Mon Jan 30 10:19:28 PST 2023
On Mon, Jan 30, 2023, at 19:10, kernel test robot wrote:
> Hi Nathan,
>
> I love your patch! Perhaps something to improve:
>
> [auto build test WARNING on 5dc4c995db9eb45f6373a956eb1f69460e69e6d4]
>
> url:
> https://github.com/intel-lab-lkp/linux/commits/Nathan-Chancellor/ARM-Allow-pre-ARMv5-builds-with-ld-lld-16-0-0-and-newer/20230119-032402
> base: 5dc4c995db9eb45f6373a956eb1f69460e69e6d4
>>> arch/arm/mach-sa1100/pm.c:122:12: warning: no previous prototype for function 'sa11x0_pm_init' [-Wmissing-prototypes]
> int __init sa11x0_pm_init(void)
> ^
> arch/arm/mach-sa1100/pm.c:122:1: note: declare 'static' if the
> function is not intended to be used outside of this translation unit
> int __init sa11x0_pm_init(void)
> ^
> static
> 1 warning generated.
> --
For refernece, these are all known problems, the patch just allowed
the code to be built by clang/lld when that was previously not
possible.
After the 6.3 merge window, we can probably go through the much
smaller set of board files are address most of the W=1 warnings that
were previously overwhelming.
Arnd
More information about the linux-arm-kernel
mailing list