All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:quotaoff-cleanups-5.14 15/20] arch/riscv/include/asm/kexec.h:45:1: error: 'extern' is not at beginning of declaration
@ 2021-05-20 21:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-20 21:30 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2924 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git quotaoff-cleanups-5.14
head:   6337f6e913ea464634f1582db813250e7be01438
commit: 5917b981c20de6ebc9bd1e44f7148b868c186627 [15/20] xfs: don't crash with assfail
config: riscv-randconfig-c004-20210520 (attached as .config)
compiler: riscv64-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/djwong/xfs-linux.git/commit/?id=5917b981c20de6ebc9bd1e44f7148b868c186627
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs quotaoff-cleanups-5.14
        git checkout 5917b981c20de6ebc9bd1e44f7148b868c186627
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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/kexec.h:28,
                    from include/linux/ima.h:13,
                    from fs/open.c:32:
>> arch/riscv/include/asm/kexec.h:45:1: error: 'extern' is not at beginning of declaration [-Werror=old-style-declaration]
      45 | const extern unsigned char riscv_kexec_relocate[];
         | ^~~~~
   arch/riscv/include/asm/kexec.h:46:1: error: 'extern' is not at beginning of declaration [-Werror=old-style-declaration]
      46 | const extern unsigned int riscv_kexec_relocate_size;
         | ^~~~~
   cc1: all warnings being treated as errors

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LOCKDEP
   Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
   Selected by
   - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT


vim +/extern +45 arch/riscv/include/asm/kexec.h

fba8a8674f68a0 Nick Kossifidis 2021-04-19  44  
fba8a8674f68a0 Nick Kossifidis 2021-04-19 @45  const extern unsigned char riscv_kexec_relocate[];
fba8a8674f68a0 Nick Kossifidis 2021-04-19  46  const extern unsigned int riscv_kexec_relocate_size;
fba8a8674f68a0 Nick Kossifidis 2021-04-19  47  

:::::: The code at line 45 was first introduced by commit
:::::: fba8a8674f68a0628abae470dfcfbcb4a0d7a79e RISC-V: Add kexec support

:::::: TO: Nick Kossifidis <mick@ics.forth.gr>
:::::: CC: Palmer Dabbelt <palmerdabbelt@google.com>

---
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: 21511 bytes --]

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 21:30 [djwong-xfs:quotaoff-cleanups-5.14 15/20] arch/riscv/include/asm/kexec.h:45:1: error: 'extern' is not at beginning of declaration 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.