[mips-linux:mips-next 29/62] sound/pci/ca0106/ca0106.h:62: warning: "PTR" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git mips-next
head:   da706e5034c34602e0fb199e5be712ab7bf2c028
commit: d339cd02b888eb8c4508fd772120782eac59a9fa [29/62] MIPS: Move unaligned load/store helpers to inst.h
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.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 d339cd02b888eb8c4508fd772120782eac59a9fa
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   In file included from sound/pci/ca0106/ca0106_main.c:157:
>> sound/pci/ca0106/ca0106.h:62: warning: "PTR" redefined
      62 | #define PTR   0x00  /* Indexed register set pointer register */
         | 
   In file included from arch/mips/include/asm/inst.h:14,
                    from arch/mips/include/asm/dsemul.h:11,
                    from arch/mips/include/asm/processor.h:22,
                    from arch/mips/include/asm/thread_info.h:16,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/mips/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/hardirq.h:5,
                    from include/linux/interrupt.h:11,
                    from sound/pci/ca0106/ca0106_main.c:126:
   arch/mips/include/asm/asm.h:261: note: this is the location of the previous definition
     261 | #define PTR  .word
         | 
--
   In file included from drivers/net/slip/slip.c:87:
>> drivers/net/slip/slip.h:44: warning: "END" redefined
      44 | #define END             0300  /* indicates end of frame */
         | 
   In file included from arch/mips/include/asm/inst.h:14,
                    from arch/mips/include/asm/dsemul.h:11,
                    from arch/mips/include/asm/processor.h:22,
                    from arch/mips/include/asm/thread_info.h:16,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/mips/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:36,
                    from include/linux/time.h:6,
                    from include/linux/stat.h:19,
                    from include/linux/module.h:13,
                    from drivers/net/slip/slip.c:65:
   arch/mips/include/asm/asm.h:50: note: this is the location of the previous definition
      50 | #define END(function)     \
         | 
--
   net/mac80211/debugfs_sta.c: In function 'sta_he_capa_read':
>> net/mac80211/debugfs_sta.c:643: warning: "PRINT" redefined
     643 | #define PRINT(fmt, ...)       \
         | 
   In file included from arch/mips/include/asm/inst.h:14,
                    from arch/mips/include/asm/dsemul.h:11,
                    from arch/mips/include/asm/processor.h:22,
                    from arch/mips/include/asm/thread_info.h:16,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/mips/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/wait.h:9,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/debugfs.h:15,
                    from net/mac80211/debugfs_sta.c:11:
   arch/mips/include/asm/asm.h:90: note: this is the location of the previous definition
      90 | #define PRINT(string)     \
         | 
--
>> drivers/net/hamradio/mkiss.c:35: warning: "END" redefined
      35 | #define END             0300  /* indicates end of frame */
         | 
   In file included from arch/mips/include/asm/inst.h:14,
                    from arch/mips/include/asm/dsemul.h:11,
                    from arch/mips/include/asm/processor.h:22,
                    from arch/mips/include/asm/thread_info.h:16,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/mips/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:36,
                    from include/linux/time.h:6,
                    from include/linux/stat.h:19,
                    from include/linux/module.h:13,
                    from drivers/net/hamradio/mkiss.c:8:
   arch/mips/include/asm/asm.h:50: note: this is the location of the previous definition
      50 | #define END(function)     \
         | 

vim +/PTR +62 sound/pci/ca0106/ca0106.h

^1da177e4c3f41 Linus Torvalds 2005-04-16  61  
^1da177e4c3f41 Linus Torvalds 2005-04-16 @62  #define PTR			0x00		/* Indexed register set pointer register	*/
^1da177e4c3f41 Linus Torvalds 2005-04-16  63  						/* NOTE: The CHANNELNUM and ADDRESS words can	*/
^1da177e4c3f41 Linus Torvalds 2005-04-16  64  						/* be modified independently of each other.	*/
^1da177e4c3f41 Linus Torvalds 2005-04-16  65  						/* CNL[1:0], ADDR[27:16]                        */
^1da177e4c3f41 Linus Torvalds 2005-04-16  66  

:::::: The code at line 62 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux