[PATCH] arm64: scripts/sorttable: Implement sorting mcount_loc at boot for arm64
Steven Rostedt
rostedt at goodmis.org
Tue Feb 11 07:46:38 PST 2025
On Tue, 11 Feb 2025 17:07:13 +0800
kernel test robot <lkp at intel.com> wrote:
> All warnings (new ones prefixed by >>):
>
> >> scripts/sorttable.c:306:13: warning: 'rela_write_addend' defined but not used [-Wunused-function]
> 306 | static void rela_write_addend(Elf_Rela *rela, uint64_t val)
> | ^~~~~~~~~~~~~~~~~
> >> scripts/sorttable.c:287:17: warning: 'rela_addend' defined but not used [-Wunused-function]
> 287 | static uint64_t rela_##fn_name(Elf_Rela *rela) \
> | ^~~~~
> scripts/sorttable.c:294:1: note: in expansion of macro 'RELA_ADDR'
> 294 | RELA_ADDR(addend)
> | ^~~~~~~~~
The above isn't used if sorting isn't enabled.
Looks like I'll have to add some "__maybe_unused" attributes.
-- Steve
More information about the linux-arm-kernel
mailing list