From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [sashal-linux-stable:queue-5.4 184/189] arch/powerpc/lib/sstep.c:2670:5: error: label 'unknown_opcode' used but not defined
Date: Sun, 21 Mar 2021 05:06:19 +0800 [thread overview]
Message-ID: <202103210508.ytTCQfdo-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2660 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: 74cb9d74e6b6e93cae875cc04536f543eacb1704
commit: c3be26ccd0ade97c537a79b2a8467f1f6aaef0e4 [184/189] powerpc/sstep: Fix load-store and update emulation
config: powerpc-mpc8540_ads_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.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/sashal/linux-stable.git/commit/?id=c3be26ccd0ade97c537a79b2a8467f1f6aaef0e4
git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.4
git checkout c3be26ccd0ade97c537a79b2a8467f1f6aaef0e4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
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 >>):
arch/powerpc/lib/sstep.c: In function 'analyse_instr':
>> arch/powerpc/lib/sstep.c:2670:5: error: label 'unknown_opcode' used but not defined
2670 | goto unknown_opcode;
| ^~~~
arch/powerpc/lib/sstep.c:1168:31: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
1168 | unsigned int opcode, ra, rb, rc, rd, spr, u;
| ^~
cc1: all warnings being treated as errors
--
arch/powerpc/lib/sstep.c: In function 'analyse_instr':
>> arch/powerpc/lib/sstep.c:2670:5: error: label 'unknown_opcode' used but not defined
2670 | goto unknown_opcode;
| ^~~~
arch/powerpc/lib/sstep.c:1168:31: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
1168 | unsigned int opcode, ra, rb, rc, rd, spr, u;
| ^~
vim +/unknown_opcode +2670 arch/powerpc/lib/sstep.c
2657
2658 }
2659
2660 if (OP_IS_LOAD_STORE(op->type) && (op->type & UPDATE)) {
2661 switch (GETTYPE(op->type)) {
2662 case LOAD:
2663 if (ra == rd)
2664 goto unknown_opcode;
2665 fallthrough;
2666 case STORE:
2667 case LOAD_FP:
2668 case STORE_FP:
2669 if (ra == 0)
> 2670 goto unknown_opcode;
2671 }
2672 }
2673
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 12131 bytes --]
reply other threads:[~2021-03-20 21:06 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=202103210508.ytTCQfdo-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.