Re: [PATCH v3 2/2] rpmsg: core: Add support to retrieve name extension
From: kbuild test robot
Date: Sat May 02 2020 - 12:19:50 EST
Hi Mathieu,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on linux/master v5.7-rc3 next-20200501]
[cannot apply to rpmsg/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Mathieu-Poirier/rpmsg-core-Add-support-for-name-extension/20200502-050248
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 052c467cb58748e302a95546925928e637025acc
config: x86_64-fedora-25 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
ld: drivers/net/wireless/ath/wcn36xx/smd.o: in function `rpmsg_device_get_name_extension':
>> include/linux/rpmsg.h:250: multiple definition of `rpmsg_device_get_name_extension'; drivers/net/wireless/ath/wcn36xx/main.o:include/linux/rpmsg.h:250: first defined here
vim +250 include/linux/rpmsg.h
247
248 const char *rpmsg_device_get_name_extension(struct rpmsg_device *dev,
249 unsigned int skip)
> 250 {
251 /* This shouldn't be possible */
252 WARN_ON(1);
253
254 return NULL;
255 }
256
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip