From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:master 1933/2300] drivers/infiniband/ulp/srp/ib_srp.c:75: warning: "DEFINE_DYNAMIC_DEBUG_METADATA" redefined
Date: Sat, 8 Jan 2022 23:09:24 +0800 [thread overview]
Message-ID: <202201082344.172v62OJ-lkp@intel.com> (raw)
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
reply other threads:[~2022-01-08 15:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201082344.172v62OJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome