From: kernel test robot <lkp@intel.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 2758/7405] arch/parisc/include/asm/jump_label.h:23:1: error: label 'l_yes' defined but not used
Date: Tue, 12 Oct 2021 08:38:23 +0800 [thread overview]
Message-ID: <202110120816.DIMSEuMj-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-10-12 0:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110120816.DIMSEuMj-lkp@intel.com \
--to=lkp@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox