Re: [PATCH net-next v1] mfd: Add Renesas Synchronization Management Unit (SMU) support

From: kernel test robot
Date: Sat Mar 13 2021 - 15:45:37 EST


Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url: https://github.com/0day-ci/linux/commits/min-li-xe-renesas-com/mfd-Add-Renesas-Synchronization-Management-Unit-SMU-support/20210314-014512
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 5ab6f96a12f4f28d5a283dcf46b004cc653246a1
config: openrisc-randconfig-r001-20210314 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/4d537d85df739a32487e30fb69388b030577cb42
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review min-li-xe-renesas-com/mfd-Add-Renesas-Synchronization-Management-Unit-SMU-support/20210314-014512
git checkout 4d537d85df739a32487e30fb69388b030577cb42
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

or1k-linux-ld: drivers/mfd/rsmu_spi.o: in function `rsmu_read':
>> rsmu_spi.c:(.text+0x6bc): multiple definition of `rsmu_read'; drivers/mfd/rsmu_i2c.o:rsmu_i2c.c:(.text+0x400): first defined here
or1k-linux-ld: drivers/mfd/rsmu_spi.o: in function `rsmu_write':
>> rsmu_spi.c:(.text+0x770): multiple definition of `rsmu_write'; drivers/mfd/rsmu_i2c.o:rsmu_i2c.c:(.text+0x434): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip