Hi Daniel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on 754e0b0e35608ed5206d6a67a791563c631cec07]
url:
https://github.com/0day-ci/linux/commits/Daniel-Latypov/thunderbolt-test-...
base: 754e0b0e35608ed5206d6a67a791563c631cec07
config: x86_64-randconfig-c004-20220214
(
https://download.01.org/0day-ci/archive/20220215/202202150853.bduLrzVV-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/cfd6f15bf8c210c9d90742af86b2bacc9...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Daniel-Latypov/thunderbolt-test-get-running-under-UML-add-kunitconfig/20220215-024255
git checkout cfd6f15bf8c210c9d90742af86b2bacc9577136e
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/thunderbolt/test.o: in function `kunit_test_suites_init':
> drivers/thunderbolt/test.c:2728: multiple definition of
`init_module'; drivers/thunderbolt/nhi.o:drivers/thunderbolt/nhi.c:1390: first defined
here
ld: drivers/thunderbolt/test.o: in function `kunit_test_suites_exit':
> drivers/thunderbolt/test.c:2728: multiple definition of
`cleanup_module'; drivers/thunderbolt/nhi.o:drivers/thunderbolt/nhi.c:1404: first
defined here
vim +2728 drivers/thunderbolt/test.c
2727
2728 kunit_test_suites(&tb_test_suite);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org