lkml.org 
[lkml]   [2021]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[deller-parisc:for-next-v5.15 16/16] drivers/gpu/drm/etnaviv/etnaviv_iommu.c:16: warning: "PT_SIZE" redefined
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-10 19:25    [W:0.033 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site