All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-5.4 184/189] arch/powerpc/lib/sstep.c:2670:5: error: label 'unknown_opcode' used but not defined
@ 2021-03-20 21:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-20 21:06 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-20 21:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-20 21:06 [sashal-linux-stable:queue-5.4 184/189] arch/powerpc/lib/sstep.c:2670:5: error: label 'unknown_opcode' used but not defined kernel test robot

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.