[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250211104638.0cdc51e1@gandalf.local.home>
Date: Tue, 11 Feb 2025 10:46:38 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: kernel test robot <lkp@...el.com>
Cc: Catalin Marinas <catalin.marinas@....com>, Will Deacon
<will@...nel.org>, oe-kbuild-all@...ts.linux.dev, LKML
<linux-kernel@...r.kernel.org>, linux-arm-kernel@...ts.infradead.org, Mark
Rutland <mark.rutland@....com>, Linux Trace Kernel
<linux-trace-kernel@...r.kernel.org>, Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>, Alexander Gordeev
<agordeev@...ux.ibm.com>, linux-s390@...r.kernel.org
Subject: Re: [PATCH] arm64: scripts/sorttable: Implement sorting mcount_loc
at boot for arm64
On Tue, 11 Feb 2025 17:07:13 +0800
kernel test robot <lkp@...el.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
Powered by blists - more mailing lists