linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* drivers/block/paride/bpck.c:32: warning: "PC" redefined
@ 2021-03-12 14:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-12 14:45 UTC (permalink / raw)
  To: Peter Xu
  Cc: kbuild-all, linux-kernel, Andrew Morton, Linux Memory Management List

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f78d76e72a4671ea52d12752d92077788b4f5d50
commit: 4ef873226ceb9c7bf11a922caddc5698a24bcfaf mm: introduce fault_signal_pending()
date:   11 months ago
config: mips-randconfig-r033-20210312 (attached as .config)
compiler: mips64-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/torvalds/linux.git/commit/?id=4ef873226ceb9c7bf11a922caddc5698a24bcfaf
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4ef873226ceb9c7bf11a922caddc5698a24bcfaf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

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

All warnings (new ones prefixed by >>):

>> drivers/block/paride/bpck.c:32: warning: "PC" redefined
      32 | #define PC   pi->private
         | 
   In file included from arch/mips/include/asm/ptrace.h:19,
                    from include/linux/sched/signal.h:14,
                    from include/linux/rcuwait.h:6,
                    from include/linux/percpu-rwsem.h:7,
                    from include/linux/fs.h:34,
                    from arch/mips/include/asm/elf.h:12,
                    from include/linux/elf.h:5,
                    from include/linux/module.h:18,
                    from drivers/block/paride/bpck.c:19:
   arch/mips/include/uapi/asm/ptrace.h:17: note: this is the location of the previous definition
      17 | #define PC  64
         | 


vim +/PC +32 drivers/block/paride/bpck.c

^1da177e4c3f415 Linus Torvalds 2005-04-16  31  
^1da177e4c3f415 Linus Torvalds 2005-04-16 @32  #define PC			pi->private
^1da177e4c3f415 Linus Torvalds 2005-04-16  33  #define r2()			(PC=(in_p(2) & 0xff))
^1da177e4c3f415 Linus Torvalds 2005-04-16  34  #define w2(byte)  		{out_p(2,byte); PC = byte;}
^1da177e4c3f415 Linus Torvalds 2005-04-16  35  #define t2(pat)   		{PC ^= pat; out_p(2,PC);}
^1da177e4c3f415 Linus Torvalds 2005-04-16  36  #define e2()			{PC &= 0xfe; out_p(2,PC);}
^1da177e4c3f415 Linus Torvalds 2005-04-16  37  #define o2()			{PC |= 1; out_p(2,PC);}
^1da177e4c3f415 Linus Torvalds 2005-04-16  38  

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

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

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

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

only message in thread, other threads:[~2021-03-12 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 14:45 drivers/block/paride/bpck.c:32: warning: "PC" redefined kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).