* [linux-next:master 2758/7405] arch/parisc/include/asm/jump_label.h:23:1: error: label 'l_yes' defined but not used
@ 2021-10-12 0:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-12 0:38 UTC (permalink / raw)
To: Herbert Xu; +Cc: kbuild-all, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 4367 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d3134eb5de8546a214c028fb7195e764b89da7d4
commit: adad556efcdd42a1d9e060cbe5f6161cccf1fa28 [2758/7405] crypto: api - Fix built-in testing dependency failures
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=adad556efcdd42a1d9e060cbe5f6161cccf1fa28
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout adad556efcdd42a1d9e060cbe5f6161cccf1fa28
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/compiler_types.h:85,
from <command-line>:
arch/parisc/include/asm/jump_label.h: In function 'arch_static_branch':
arch/parisc/include/asm/jump_label.h:18:18: error: expected ':' before '__stringify'
18 | __stringify(ASM_ULONG_INSN) " %c0 - .\n\t"
| ^~~~~~~~~~~
include/linux/compiler-gcc.h:88:47: note: in definition of macro 'asm_volatile_goto'
88 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^
In file included from include/linux/jump_label.h:117,
from crypto/api.c:15:
>> arch/parisc/include/asm/jump_label.h:23:1: error: label 'l_yes' defined but not used [-Werror=unused-label]
23 | l_yes:
| ^~~~~
In file included from include/linux/compiler_types.h:85,
from <command-line>:
arch/parisc/include/asm/jump_label.h: In function 'arch_static_branch_jump':
arch/parisc/include/asm/jump_label.h:33:18: error: expected ':' before '__stringify'
33 | __stringify(ASM_ULONG_INSN) " %c0 - .\n\t"
| ^~~~~~~~~~~
include/linux/compiler-gcc.h:88:47: note: in definition of macro 'asm_volatile_goto'
88 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^
In file included from include/linux/jump_label.h:117,
from crypto/api.c:15:
arch/parisc/include/asm/jump_label.h:38:1: error: label 'l_yes' defined but not used [-Werror=unused-label]
38 | l_yes:
| ^~~~~
cc1: all warnings being treated as errors
vim +/l_yes +23 arch/parisc/include/asm/jump_label.h
62217beb394e65 Helge Deller 2019-05-03 11
62217beb394e65 Helge Deller 2019-05-03 12 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
62217beb394e65 Helge Deller 2019-05-03 13 {
62217beb394e65 Helge Deller 2019-05-03 14 asm_volatile_goto("1:\n\t"
62217beb394e65 Helge Deller 2019-05-03 15 "nop\n\t"
62217beb394e65 Helge Deller 2019-05-03 16 ".pushsection __jump_table, \"aw\"\n\t"
62217beb394e65 Helge Deller 2019-05-03 17 ".word 1b - ., %l[l_yes] - .\n\t"
62217beb394e65 Helge Deller 2019-05-03 18 __stringify(ASM_ULONG_INSN) " %c0 - .\n\t"
62217beb394e65 Helge Deller 2019-05-03 19 ".popsection\n\t"
62217beb394e65 Helge Deller 2019-05-03 20 : : "i" (&((char *)key)[branch]) : : l_yes);
62217beb394e65 Helge Deller 2019-05-03 21
62217beb394e65 Helge Deller 2019-05-03 22 return false;
62217beb394e65 Helge Deller 2019-05-03 @23 l_yes:
62217beb394e65 Helge Deller 2019-05-03 24 return true;
62217beb394e65 Helge Deller 2019-05-03 25 }
62217beb394e65 Helge Deller 2019-05-03 26
:::::: The code at line 23 was first introduced by commit
:::::: 62217beb394e654bbd2bb87c533dadd2d8bf62c6 parisc: Add static branch and JUMP_LABEL feature
:::::: TO: Helge Deller <deller@gmx.de>
:::::: CC: Helge Deller <deller@gmx.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 69401 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-12 0:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 0:38 [linux-next:master 2758/7405] arch/parisc/include/asm/jump_label.h:23:1: error: label 'l_yes' defined but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox