public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Helge Deller <deller@gmx.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [deller-parisc:for-next-v5.15 16/16] drivers/gpu/drm/etnaviv/etnaviv_iommu.c:16: warning: "PT_SIZE" redefined
Date: Mon, 11 Oct 2021 01:23:34 +0800	[thread overview]
Message-ID: <202110110124.zNHc02pE-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-next-v5.15
head:   0380fbf0ad2f3564930f16a4407119419e68be81
commit: 0380fbf0ad2f3564930f16a4407119419e68be81 [16/16] parisc: Move thread info into task struct
config: parisc-randconfig-r012-20211010 (attached as .config)
compiler: hppa-linux-gcc (GCC) 11.2.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/deller/parisc-linux.git/commit/?id=0380fbf0ad2f3564930f16a4407119419e68be81
        git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
        git fetch --no-tags deller-parisc for-next-v5.15
        git checkout 0380fbf0ad2f3564930f16a4407119419e68be81
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc SHELL=/bin/bash drivers/gpu/drm/etnaviv/

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/gpu/drm/etnaviv/etnaviv_iommu.c:16: warning: "PT_SIZE" redefined
      16 | #define PT_SIZE         SZ_2M
         | 
   In file included from arch/parisc/include/asm/asm-offsets.h:1,
                    from arch/parisc/include/asm/smp.h:51,
                    from include/linux/smp.h:114,
                    from include/linux/lockdep.h:14,
                    from include/linux/rcupdate.h:29,
                    from include/linux/rculist.h:11,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from include/linux/ratelimit.h:6,
                    from include/linux/dev_printk.h:16,
                    from include/linux/device.h:15,
                    from include/linux/dma-mapping.h:7,
                    from drivers/gpu/drm/etnaviv/etnaviv_iommu.c:7:
   ./include/generated/asm-offsets.h:191: note: this is the location of the previous definition
     191 | #define PT_SIZE 472 /* sizeof(struct pt_regs) */
         | 


vim +/PT_SIZE +16 drivers/gpu/drm/etnaviv/etnaviv_iommu.c

a8c21a5451d831 The etnaviv authors 2015-12-03  15  
a8c21a5451d831 The etnaviv authors 2015-12-03 @16  #define PT_SIZE		SZ_2M
a8c21a5451d831 The etnaviv authors 2015-12-03  17  #define PT_ENTRIES	(PT_SIZE / sizeof(u32))
a8c21a5451d831 The etnaviv authors 2015-12-03  18  

:::::: The code at line 16 was first introduced by commit
:::::: a8c21a5451d831e67b7a6fb910f9ca8bc7b43554 drm/etnaviv: add initial etnaviv DRM driver

:::::: TO: The etnaviv authors <dri-devel@lists.freedesktop.org>
:::::: CC: Lucas Stach <l.stach@pengutronix.de>

---
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: 37173 bytes --]

                 reply	other threads:[~2021-10-10 17:24 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=202110110124.zNHc02pE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=deller@gmx.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox