linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mingo-tip:master 1933/2300] drivers/infiniband/ulp/srp/ib_srp.c:75: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined
@ 2022-01-08 15:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-08 15:09 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head:   4e348e961395297bb17f101cc63bc133d8a348e9
commit: 545982ee482536cdce1a96526ba2ccefe94188c6 [1933/2300] headers/deps: Optimize <linux/jump_label.h>, remove the <linux/atomic_api.h> inclusion in the CONFIG_JUMP_LABEL=y case
config: i386-randconfig-a014-20220108 (https://download.01.org/0day-ci/archive/20220108/202201082344.172v62OJ-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=545982ee482536cdce1a96526ba2ccefe94188c6
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip master
        git checkout 545982ee482536cdce1a96526ba2ccefe94188c6
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/infiniband/ulp/

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/infiniband/ulp/srp/ib_srp.c:75: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined
      75 | #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)
         | 
   In file included from include/linux/dev_printk.h:16,
                    from include/linux/device_types.h:19,
                    from include/linux/device_api.h:15,
                    from include/linux/device_api_lock.h:5,
                    from include/linux/fwnode.h:12,
                    from include/linux/logic_pio.h:11,
                    from include/asm-generic/io.h:526,
                    from arch/x86/include/asm/io.h:377,
                    from include/linux/scatterlist_api.h:12,
                    from drivers/infiniband/ulp/srp/ib_srp.c:38:
   include/linux/dynamic_debug.h:90: note: this is the location of the previous definition
      90 | #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)  \
         | 
>> drivers/infiniband/ulp/srp/ib_srp.c:76: warning: "DYNAMIC_DEBUG_BRANCH" redefined
      76 | #define DYNAMIC_DEBUG_BRANCH(descriptor) false
         | 
   In file included from include/linux/dev_printk.h:16,
                    from include/linux/device_types.h:19,
                    from include/linux/device_api.h:15,
                    from include/linux/device_api_lock.h:5,
                    from include/linux/fwnode.h:12,
                    from include/linux/logic_pio.h:11,
                    from include/asm-generic/io.h:526,
                    from arch/x86/include/asm/io.h:377,
                    from include/linux/scatterlist_api.h:12,
                    from drivers/infiniband/ulp/srp/ib_srp.c:38:
   include/linux/dynamic_debug.h:113: note: this is the location of the previous definition
     113 | #define DYNAMIC_DEBUG_BRANCH(descriptor) \
         | 


vim +/DEFINE_DYNAMIC_DEBUG_METADATA +75 drivers/infiniband/ulp/srp/ib_srp.c

aef9ec39c47f0c Roland Dreier   2005-11-02  73  
1a1faf7a8a251d Bart Van Assche 2016-11-21  74  #if !defined(CONFIG_DYNAMIC_DEBUG)
1a1faf7a8a251d Bart Van Assche 2016-11-21 @75  #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)
1a1faf7a8a251d Bart Van Assche 2016-11-21 @76  #define DYNAMIC_DEBUG_BRANCH(descriptor) false
1a1faf7a8a251d Bart Van Assche 2016-11-21  77  #endif
1a1faf7a8a251d Bart Van Assche 2016-11-21  78  

:::::: The code at line 75 was first introduced by commit
:::::: 1a1faf7a8a251d134d375b7783a614ee79e932f2 IB/srp: Fix CONFIG_DYNAMIC_DEBUG=n build

:::::: TO: Bart Van Assche <bart.vanassche@sandisk.com>
:::::: CC: Doug Ledford <dledford@redhat.com>

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

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

only message in thread, other threads:[~2022-01-08 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-08 15:09 [mingo-tip:master 1933/2300] drivers/infiniband/ulp/srp/ib_srp.c:75: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" 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).