All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-rt-devel:linux-5.4.y-rt 147/261] arch/riscv/include/asm/spinlock_types.h:10:3: error: #error "please don't include this file directly"
@ 2020-01-04 12:17 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-04 12:17 UTC (permalink / raw)
  To: kbuild-all

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

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.4.y-rt
head:   1fbcaa9506f953b1f054c0d1ae79776fb77887b3
commit: 61ff0ce6f914fabe3129f2b35a30b8f65c7c39b5 [147/261] spinlock: Split the lock types header
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 61ff0ce6f914fabe3129f2b35a30b8f65c7c39b5
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/spinlock_types_raw.h:7:0,
                    from <command-line>:0:
>> arch/riscv/include/asm/spinlock_types.h:10:3: error: #error "please don't include this file directly"
    # error "please don't include this file directly"
      ^~~~~

vim +10 arch/riscv/include/asm/spinlock_types.h

fab957c11efe2f Palmer Dabbelt 2017-07-10   8  
fab957c11efe2f Palmer Dabbelt 2017-07-10   9  #ifndef __LINUX_SPINLOCK_TYPES_H
fab957c11efe2f Palmer Dabbelt 2017-07-10 @10  # error "please don't include this file directly"
fab957c11efe2f Palmer Dabbelt 2017-07-10  11  #endif
fab957c11efe2f Palmer Dabbelt 2017-07-10  12  

:::::: The code at line 10 was first introduced by commit
:::::: fab957c11efe2f405e08b9f0d080524bc2631428 RISC-V: Atomic and Locking Code

:::::: TO: Palmer Dabbelt <palmer@dabbelt.com>
:::::: CC: Palmer Dabbelt <palmer@dabbelt.com>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 59999 bytes --]

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

only message in thread, other threads:[~2020-01-04 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-04 12:17 [linux-rt-devel:linux-5.4.y-rt 147/261] arch/riscv/include/asm/spinlock_types.h:10:3: error: #error "please don't include this file directly" kbuild 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.