linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 816/1532] drivers/infiniband/ulp/srp/ib_srp.c:66: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined
@ 2023-03-07  6:37 kernel test robot
  2023-03-08 19:58 ` Luis Chamberlain
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-03-07  6:37 UTC (permalink / raw)
  To: Jason Baron; +Cc: oe-kbuild-all, Linux Memory Management List, Luis Chamberlain

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   709c6adf19dc558e44ab5c01659b09a16a2d3c82
commit: b1ec22f8dc85bb0b2e82a528a7ebca377f46d4cb [816/1532] dyndbg: use the module notifier callbacks
config: arc-randconfig-r011-20230305 (https://download.01.org/0day-ci/archive/20230307/202303071444.sIbZTDCy-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 12.1.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/next/linux-next.git/commit/?id=b1ec22f8dc85bb0b2e82a528a7ebca377f46d4cb
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout b1ec22f8dc85bb0b2e82a528a7ebca377f46d4cb
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/infiniband/ulp/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303071444.sIbZTDCy-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/infiniband/ulp/srp/ib_srp.c:66: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined
      66 | #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)
         | 
   In file included from include/linux/module.h:30,
                    from drivers/infiniband/ulp/srp/ib_srp.c:35:
   include/linux/dynamic_debug.h:174: note: this is the location of the previous definition
     174 | #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)                \
         | 
>> drivers/infiniband/ulp/srp/ib_srp.c:67: warning: "DYNAMIC_DEBUG_BRANCH" redefined
      67 | #define DYNAMIC_DEBUG_BRANCH(descriptor) false
         | 
   include/linux/dynamic_debug.h:188: note: this is the location of the previous definition
     188 | #define DYNAMIC_DEBUG_BRANCH(descriptor) \
         | 


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

aef9ec39c47f0ce Roland Dreier   2005-11-02  64  
1a1faf7a8a251d1 Bart Van Assche 2016-11-21  65  #if !defined(CONFIG_DYNAMIC_DEBUG)
1a1faf7a8a251d1 Bart Van Assche 2016-11-21 @66  #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)
1a1faf7a8a251d1 Bart Van Assche 2016-11-21 @67  #define DYNAMIC_DEBUG_BRANCH(descriptor) false
1a1faf7a8a251d1 Bart Van Assche 2016-11-21  68  #endif
1a1faf7a8a251d1 Bart Van Assche 2016-11-21  69  

:::::: The code at line 66 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
https://github.com/intel/lkp-tests


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 816/1532] drivers/infiniband/ulp/srp/ib_srp.c:66: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined
  2023-03-07  6:37 [linux-next:master 816/1532] drivers/infiniband/ulp/srp/ib_srp.c:66: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined kernel test robot
@ 2023-03-08 19:58 ` Luis Chamberlain
  0 siblings, 0 replies; 2+ messages in thread
From: Luis Chamberlain @ 2023-03-08 19:58 UTC (permalink / raw)
  To: kernel test robot
  Cc: Jason Baron, oe-kbuild-all, Linux Memory Management List

On Tue, Mar 07, 2023 at 02:37:52PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   709c6adf19dc558e44ab5c01659b09a16a2d3c82
> commit: b1ec22f8dc85bb0b2e82a528a7ebca377f46d4cb [816/1532] dyndbg: use the module notifier callbacks
> config: arc-randconfig-r011-20230305 (https://download.01.org/0day-ci/archive/20230307/202303071444.sIbZTDCy-lkp@intel.com/config)
> compiler: arceb-elf-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):

Jason can you take a look?

  Luis


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-08 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07  6:37 [linux-next:master 816/1532] drivers/infiniband/ulp/srp/ib_srp.c:66: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined kernel test robot
2023-03-08 19:58 ` Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox