All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/preempt-rt 15/16] arch/powerpc/platforms/pseries/iommu.c:181:30: warning: unused variable 'tcp_page_lock'
@ 2021-09-09 19:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-09 19:42 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   2046457bf9f4a420f69e915453d59db5b38edbaa
commit: 3c3f9863f8b96ccbf6fd420c93f1685f6085651a [15/16] Merge tag 'lts-v5.4.58-yocto-200825T002733Z' into lts2019/yocto-rt
config: powerpc-randconfig-c003-20210908 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
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
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc64le-linux-gnu
        # https://github.com/intel/linux-intel-lts/commit/3c3f9863f8b96ccbf6fd420c93f1685f6085651a
        git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-linux-intel-lts 5.4/preempt-rt
        git checkout 3c3f9863f8b96ccbf6fd420c93f1685f6085651a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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 >>):

   In file included from arch/powerpc/platforms/pseries/iommu.c:13:
   In file included from include/linux/init.h:5:
   In file included from include/linux/compiler.h:256:
   arch/powerpc/include/asm/barrier.h:47:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:311:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> arch/powerpc/platforms/pseries/iommu.c:181:30: warning: unused variable 'tcp_page_lock' [-Wunused-const-variable]
   static DEFINE_LOCAL_IRQ_LOCK(tcp_page_lock);
                                ^
   2 warnings generated.


vim +/tcp_page_lock +181 arch/powerpc/platforms/pseries/iommu.c

^1da177e4c3f41 arch/ppc64/kernel/pSeries_iommu.c      Linus Torvalds            2005-04-16  179  
df015604cf5bb0 arch/powerpc/platforms/pseries/iommu.c Anton Blanchard           2013-10-17  180  static DEFINE_PER_CPU(__be64 *, tce_page);
3ab3ff1d185c02 arch/powerpc/platforms/pseries/iommu.c Sebastian Andrzej Siewior 2019-03-26 @181  static DEFINE_LOCAL_IRQ_LOCK(tcp_page_lock);
^1da177e4c3f41 arch/ppc64/kernel/pSeries_iommu.c      Linus Torvalds            2005-04-16  182  

:::::: The code at line 181 was first introduced by commit
:::::: 3ab3ff1d185c02c51cfb22a22476d8c3791c8810 powerpc/pseries/iommu: Use a locallock instead local_irq_save()

:::::: TO: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

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

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

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

only message in thread, other threads:[~2021-09-09 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 19:42 [intel-linux-intel-lts:5.4/preempt-rt 15/16] arch/powerpc/platforms/pseries/iommu.c:181:30: warning: unused variable 'tcp_page_lock' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.