lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202221338.VBCHmMJr-lkp@intel.com>
Date:   Tue, 22 Feb 2022 13:39:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 2011/2541]
 drivers/infiniband/ulp/srp/ib_srp.c:75: warning:
 "DEFINE_DYNAMIC_DEBUG_METADATA" redefined

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   601144c0da5edfa67a9654158370da19c67e17e2
commit: 851f9d758cf215ebf131c634c6ec7bf12e91f19f [2011/2541] headers/deps: Optimize <linux/jump_label.h>, remove the <linux/atomic_api.h> inclusion in the CONFIG_JUMP_LABEL=y case
config: i386-randconfig-a006-20220221 (https://download.01.org/0day-ci/archive/20220222/202202221338.VBCHmMJr-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=851f9d758cf215ebf131c634c6ec7bf12e91f19f
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 851f9d758cf215ebf131c634c6ec7bf12e91f19f
        # 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@...el.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:363,
                    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:363,
                    from include/linux/scatterlist_api.h:12,
                    from drivers/infiniband/ulp/srp/ib_srp.c:38:
   include/linux/dynamic_debug.h:125: note: this is the location of the previous definition
     125 | #define DYNAMIC_DEBUG_BRANCH(descriptor) \
         | 


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

e0bda7d8c33e60f Bart Van Assche 2012-01-14  34  
39b7930ffcd9482 Ingo Molnar     2022-02-10  35  #include <linux/workqueue_api.h>
71340bbb4ef4d34 Ingo Molnar     2022-02-10  36  #include <linux/sysfs.h>
b5bebb042abcc08 Ingo Molnar     2022-02-10  37  #include <linux/spinlock_api.h>
b95b81156f20922 Ingo Molnar     2022-02-10 @38  #include <linux/scatterlist_api.h>
be6d52829da1be8 Ingo Molnar     2022-02-10  39  #include <linux/nodemask.h>
55f2261aa49417c Ingo Molnar     2022-02-10  40  #include <linux/mutex_api.h>
0c135d6371d0a8c Ingo Molnar     2022-02-10  41  #include <linux/lockdep_api.h>
143796d5082e822 Ingo Molnar     2022-02-10  42  #include <linux/device_api_lock.h>
c333421486810d6 Ingo Molnar     2022-02-10  43  #include <linux/cpumask_api.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  44  #include <linux/module.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  45  #include <linux/init.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  46  #include <linux/slab.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  47  #include <linux/err.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  48  #include <linux/string.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  49  #include <linux/parser.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  50  #include <linux/random.h>
de25968cc87cc5b Tim Schmielau   2006-01-08  51  #include <linux/jiffies.h>
93c76dbb749eb0c Bart Van Assche 2017-02-14  52  #include <linux/lockdep.h>
19f313438c7754e Bart Van Assche 2018-01-22  53  #include <linux/inet.h>
56b5390caf73694 Bart Van Assche 2014-07-09  54  #include <rdma/ib_cache.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  55  
60063497a95e716 Arun Sharma     2011-07-26  56  #include <linux/atomic.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  57  
aef9ec39c47f0ce Roland Dreier   2005-11-02  58  #include <scsi/scsi.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  59  #include <scsi/scsi_device.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  60  #include <scsi/scsi_dbg.h>
71444b97816ae08 Jack Wang       2013-11-07  61  #include <scsi/scsi_tcq.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  62  #include <scsi/srp.h>
3236822b1c9b67a FUJITA Tomonori 2007-06-27  63  #include <scsi/scsi_transport_srp.h>
aef9ec39c47f0ce Roland Dreier   2005-11-02  64  
aef9ec39c47f0ce Roland Dreier   2005-11-02  65  #include "ib_srp.h"
aef9ec39c47f0ce Roland Dreier   2005-11-02  66  
aef9ec39c47f0ce Roland Dreier   2005-11-02  67  #define DRV_NAME	"ib_srp"
aef9ec39c47f0ce Roland Dreier   2005-11-02  68  #define PFX		DRV_NAME ": "
aef9ec39c47f0ce Roland Dreier   2005-11-02  69  
aef9ec39c47f0ce Roland Dreier   2005-11-02  70  MODULE_AUTHOR("Roland Dreier");
33ab3e5ba2f7d64 Bart Van Assche 2015-05-18  71  MODULE_DESCRIPTION("InfiniBand SCSI RDMA Protocol initiator");
aef9ec39c47f0ce Roland Dreier   2005-11-02  72  MODULE_LICENSE("Dual BSD/GPL");
aef9ec39c47f0ce Roland Dreier   2005-11-02  73  
1a1faf7a8a251d1 Bart Van Assche 2016-11-21  74  #if !defined(CONFIG_DYNAMIC_DEBUG)
1a1faf7a8a251d1 Bart Van Assche 2016-11-21 @75  #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)
1a1faf7a8a251d1 Bart Van Assche 2016-11-21 @76  #define DYNAMIC_DEBUG_BRANCH(descriptor) false
1a1faf7a8a251d1 Bart Van Assche 2016-11-21  77  #endif
1a1faf7a8a251d1 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@...disk.com>
:::::: CC: Doug Ledford <dledford@...hat.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ