All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [djwong-xfs:quotaoff-cleanups-5.14 15/20] arch/riscv/include/asm/kexec.h:45:1: error: 'extern' is not at beginning of declaration
Date: Fri, 21 May 2021 05:30:27 +0800	[thread overview]
Message-ID: <202105210520.Gy7EHncP-lkp@intel.com> (raw)

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

                 reply	other threads:[~2021-05-20 21:30 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=202105210520.Gy7EHncP-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.