linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peter Xu <peterx@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: drivers/block/paride/bpck.c:32: warning: "PC" redefined
Date: Fri, 12 Mar 2021 22:45:52 +0800	[thread overview]
Message-ID: <202103122239.piTiyv7I-lkp@intel.com> (raw)

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

                 reply	other threads:[~2021-03-12 14:46 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=202103122239.piTiyv7I-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=peterx@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox