Hi Lee,
I love your patch! Yet something to improve:
[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v5.8-rc1 next-20200617]
[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/Lee-Jones/mfd-Add-I2C-based-Syst...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: sh-allmodconfig (attached as .config)
compiler: sh4-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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 >>, old ones prefixed by <<):
> drivers/mfd/syscon-i2c.c:86:16: error: redefinition of
'syscon_i2c_to_regmap'
86 | struct regmap *syscon_i2c_to_regmap(struct
i2c_client *client)
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/mfd/syscon-i2c.c:14:
include/linux/mfd/syscon-i2c.h:20:30: note: previous definition of
'syscon_i2c_to_regmap' was here
20 | static inline struct regmap *syscon_i2c_to_regmap(struct i2c_client *client)
| ^~~~~~~~~~~~~~~~~~~~
vim +/syscon_i2c_to_regmap +86 drivers/mfd/syscon-i2c.c
85
86 struct regmap *syscon_i2c_to_regmap(struct i2c_client *client)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org