From: kernel test robot <lkp@intel.com>
To: Michal Simek <monstr@monstr.eu>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-arm-kernel@lists.infradead.org,
Piyush Mehta <piyush.mehta@xilinx.com>
Subject: [xlnx:xlnx_rebase_v5.4 904/1765] ld.lld: error: duplicate symbol: dwc3_set_simple_data
Date: Wed, 21 Jul 2021 06:32:20 +0800 [thread overview]
Message-ID: <202107210657.yqZCWCdf-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2794 bytes --]
Hi Michal,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 2f686fa6c0bf7fa168dc45dd7ce1359217212911
commit: 3d600fd776cbda29abdea084f7437f7d9102b2a5 [904/1765] usb: dwc3: Add support for removing vbus when suspended
config: x86_64-randconfig-r013-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/Xilinx/linux-xlnx/commit/3d600fd776cbda29abdea084f7437f7d9102b2a5
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 3d600fd776cbda29abdea084f7437f7d9102b2a5
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash M=drivers/usb/dwc3
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/usb/dwc3/core.c:35:
drivers/usb/dwc3/core.h:1419:6: warning: no previous prototype for function 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
^
drivers/usb/dwc3/core.h:1419:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
^
static
>> drivers/usb/dwc3/core.h:1421:6: warning: no previous prototype for function 'dwc3_set_simple_data' [-Wmissing-prototypes]
void dwc3_set_simple_data(struct dwc3 *dwc)
^
drivers/usb/dwc3/core.h:1421:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void dwc3_set_simple_data(struct dwc3 *dwc)
^
static
2 warnings generated.
--
>> ld.lld: error: duplicate symbol: dwc3_set_simple_data
>>> defined at core.c
>>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
>>> defined at host.c
>>> drivers/usb/dwc3/host.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: dwc3_set_simple_data
>>> defined at core.c
>>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
>>> defined at debugfs.c
>>> drivers/usb/dwc3/debugfs.o:(.text+0x10)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34224 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [xlnx:xlnx_rebase_v5.4 904/1765] ld.lld: error: duplicate symbol: dwc3_set_simple_data
Date: Wed, 21 Jul 2021 06:32:20 +0800 [thread overview]
Message-ID: <202107210657.yqZCWCdf-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2855 bytes --]
Hi Michal,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 2f686fa6c0bf7fa168dc45dd7ce1359217212911
commit: 3d600fd776cbda29abdea084f7437f7d9102b2a5 [904/1765] usb: dwc3: Add support for removing vbus when suspended
config: x86_64-randconfig-r013-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/Xilinx/linux-xlnx/commit/3d600fd776cbda29abdea084f7437f7d9102b2a5
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 3d600fd776cbda29abdea084f7437f7d9102b2a5
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash M=drivers/usb/dwc3
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/usb/dwc3/core.c:35:
drivers/usb/dwc3/core.h:1419:6: warning: no previous prototype for function 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
^
drivers/usb/dwc3/core.h:1419:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
^
static
>> drivers/usb/dwc3/core.h:1421:6: warning: no previous prototype for function 'dwc3_set_simple_data' [-Wmissing-prototypes]
void dwc3_set_simple_data(struct dwc3 *dwc)
^
drivers/usb/dwc3/core.h:1421:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void dwc3_set_simple_data(struct dwc3 *dwc)
^
static
2 warnings generated.
--
>> ld.lld: error: duplicate symbol: dwc3_set_simple_data
>>> defined at core.c
>>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
>>> defined at host.c
>>> drivers/usb/dwc3/host.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: dwc3_set_simple_data
>>> defined at core.c
>>> drivers/usb/dwc3/core.o:(dwc3_set_simple_data)
>>> defined at debugfs.c
>>> drivers/usb/dwc3/debugfs.o:(.text+0x10)
---
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: 34224 bytes --]
next reply other threads:[~2021-07-20 22:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 22:32 kernel test robot [this message]
2021-07-20 22:32 ` [xlnx:xlnx_rebase_v5.4 904/1765] ld.lld: error: duplicate symbol: dwc3_set_simple_data kernel test robot
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=202107210657.yqZCWCdf-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=monstr@monstr.eu \
--cc=piyush.mehta@xilinx.com \
/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 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.