From: kernel test robot <lkp@intel.com>
To: Chunfeng Yun <chunfeng.yun@mediatek.com>,
Mika Westerberg <westeri@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
Andreas Noever <andreas.noever@gmail.com>,
Yehezkel Bernat <YehezkelShB@gmail.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Chunfeng Yun <chunfeng.yun@mediatek.com>
Subject: Re: [PATCH 1/4] thunderbolt: add platform nhi driver
Date: Sat, 31 Oct 2026 11:41:44 +0800 [thread overview]
Message-ID: <202610311159.EWCMURna-lkp@intel.com> (raw)
In-Reply-To: <20261030082539.1208733-2-chunfeng.yun@mediatek.com>
Hi Chunfeng,
kernel test robot noticed the following build errors:
[auto build test ERROR on westeri-thunderbolt/next]
[also build test ERROR on linus/master v7.3 next-20261030]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Chunfeng-Yun/thunderbolt-add-platform-nhi-driver/20261030-162536
base: https://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git next
patch link: https://lore.kernel.org/r/20261030082539.1208733-2-chunfeng.yun%40mediatek.com
patch subject: [PATCH 1/4] thunderbolt: add platform nhi driver
config: arm64-randconfig-1003-20261031 (https://download.01.org/0day-ci/archive/20261031/202610311159.EWCMURna-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261031/202610311159.EWCMURna-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610311159.EWCMURna-lkp@intel.com/
All errors (new ones prefixed by >>):
aarch64-linux-ld: drivers/thunderbolt/domain.o: in function `tb_domain_init':
>> drivers/thunderbolt/domain.c:909: multiple definition of `init_module'; drivers/thunderbolt/pci.o:drivers/thunderbolt/pci.c:753: first defined here
aarch64-linux-ld: drivers/thunderbolt/domain.o: in function `tb_domain_exit':
>> drivers/thunderbolt/domain.c:935: multiple definition of `cleanup_module'; drivers/thunderbolt/pci.o:drivers/thunderbolt/pci.c:753: first defined here
aarch64-linux-ld: drivers/thunderbolt/plat.o: in function `nhi_plat_driver_init':
drivers/thunderbolt/plat.c:152: multiple definition of `init_module'; drivers/thunderbolt/pci.o:drivers/thunderbolt/pci.c:753: first defined here
aarch64-linux-ld: drivers/thunderbolt/plat.o: in function `nhi_plat_driver_exit':
drivers/thunderbolt/plat.c:152: multiple definition of `cleanup_module'; drivers/thunderbolt/pci.o:drivers/thunderbolt/pci.c:753: first defined here
vim +909 drivers/thunderbolt/domain.c
a8937f35cf39c3 Mika Westerberg 2025-11-06 907
4bef343876ebc1 Chunfeng Yun 2026-10-30 908 static int __init tb_domain_init(void)
9d3cce0b613689 Mika Westerberg 2017-06-06 @909 {
d1ff70241a2751 Mika Westerberg 2017-10-02 910 int ret;
d1ff70241a2751 Mika Westerberg 2017-10-02 911
cba57ed6f1e752 Mika Westerberg 2025-08-12 912 tb_configfs_init();
54e418106c765c Gil Fine 2020-06-29 913 tb_debugfs_init();
ccc5cb8ad5d18e Rajmohan Mani 2021-04-01 914 tb_acpi_init();
ccc5cb8ad5d18e Rajmohan Mani 2021-04-01 915
d1ff70241a2751 Mika Westerberg 2017-10-02 916 ret = tb_xdomain_init();
d1ff70241a2751 Mika Westerberg 2017-10-02 917 if (ret)
ccc5cb8ad5d18e Rajmohan Mani 2021-04-01 918 goto err_acpi;
d1ff70241a2751 Mika Westerberg 2017-10-02 919 ret = bus_register(&tb_bus_type);
d1ff70241a2751 Mika Westerberg 2017-10-02 920 if (ret)
54e418106c765c Gil Fine 2020-06-29 921 goto err_xdomain;
54e418106c765c Gil Fine 2020-06-29 922
54e418106c765c Gil Fine 2020-06-29 923 return 0;
54e418106c765c Gil Fine 2020-06-29 924
54e418106c765c Gil Fine 2020-06-29 925 err_xdomain:
d1ff70241a2751 Mika Westerberg 2017-10-02 926 tb_xdomain_exit();
ccc5cb8ad5d18e Rajmohan Mani 2021-04-01 927 err_acpi:
ccc5cb8ad5d18e Rajmohan Mani 2021-04-01 928 tb_acpi_exit();
54e418106c765c Gil Fine 2020-06-29 929 tb_debugfs_exit();
d1ff70241a2751 Mika Westerberg 2017-10-02 930
d1ff70241a2751 Mika Westerberg 2017-10-02 931 return ret;
9d3cce0b613689 Mika Westerberg 2017-06-06 932 }
9d3cce0b613689 Mika Westerberg 2017-06-06 933
4bef343876ebc1 Chunfeng Yun 2026-10-30 934 static void __exit tb_domain_exit(void)
9d3cce0b613689 Mika Westerberg 2017-06-06 @935 {
9d3cce0b613689 Mika Westerberg 2017-06-06 936 bus_unregister(&tb_bus_type);
9d3cce0b613689 Mika Westerberg 2017-06-06 937 ida_destroy(&tb_domain_ida);
719a5fe87ecd71 Mika Westerberg 2020-03-05 938 tb_nvm_exit();
d1ff70241a2751 Mika Westerberg 2017-10-02 939 tb_xdomain_exit();
ccc5cb8ad5d18e Rajmohan Mani 2021-04-01 940 tb_acpi_exit();
54e418106c765c Gil Fine 2020-06-29 941 tb_debugfs_exit();
cba57ed6f1e752 Mika Westerberg 2025-08-12 942 tb_configfs_exit();
9d3cce0b613689 Mika Westerberg 2017-06-06 943 }
4bef343876ebc1 Chunfeng Yun 2026-10-30 944
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-10-31 3:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 8:25 [PATCH 0/4] add support platform nhi driver Chunfeng Yun
2026-10-30 8:25 ` [PATCH 1/4] thunderbolt: add " Chunfeng Yun
2026-10-30 8:47 ` Mika Westerberg
2026-10-31 3:41 ` kernel test robot [this message]
2026-10-30 8:25 ` [PATCH 2/4] thunderbolt: add support optional dedicated wakeup irq Chunfeng Yun
2026-10-30 8:48 ` Mika Westerberg
2026-10-30 8:25 ` [PATCH 3/4] thunderbolt: improve usb3 adapter link up timeout value Chunfeng Yun
2026-10-30 8:50 ` Mika Westerberg
2026-10-30 8:25 ` [PATCH 4/4] thunderbolt: prevent pcie tunnel activation/teardown warnings Chunfeng Yun
2026-10-30 8:56 ` Mika Westerberg
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=202610311159.EWCMURna-lkp@intel.com \
--to=lkp@intel.com \
--cc=YehezkelShB@gmail.com \
--cc=andreas.noever@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunfeng.yun@mediatek.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=westeri@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