public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [linusw-nomadik:ux500-href-charging-v5.16-rc1 36/36] drivers/power/supply/samsung-sdi-battery.c:393:5: error: redefinition of 'samsung_sdi_battery_get_info'
@ 2021-12-14 18:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-14 18:56 UTC (permalink / raw)
  To: Linus Walleij; +Cc: llvm, kbuild-all, linux-arm-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-href-charging-v5.16-rc1
head:   32391681d89fce910d0190dc32a6febe33a74041
commit: 32391681d89fce910d0190dc32a6febe33a74041 [36/36] power: supply: Static data for Samsung batteries
config: x86_64-randconfig-r016-20211214 (https://download.01.org/0day-ci/archive/20211215/202112150241.QL8LVJg0-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
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://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?id=32391681d89fce910d0190dc32a6febe33a74041
        git remote add linusw-nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
        git fetch --no-tags linusw-nomadik ux500-href-charging-v5.16-rc1
        git checkout 32391681d89fce910d0190dc32a6febe33a74041
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/power/supply/

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

All errors (new ones prefixed by >>):

>> drivers/power/supply/samsung-sdi-battery.c:393:5: error: redefinition of 'samsung_sdi_battery_get_info'
   int samsung_sdi_battery_get_info(struct device *dev,
       ^
   drivers/power/supply/samsung-sdi-battery.h:7:19: note: previous definition is here
   static inline int samsung_sdi_battery_get_info(struct device *dev,
                     ^
   1 error generated.


vim +/samsung_sdi_battery_get_info +393 drivers/power/supply/samsung-sdi-battery.c

   392	
 > 393	int samsung_sdi_battery_get_info(struct device *dev,

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-14 19:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-14 18:56 [linusw-nomadik:ux500-href-charging-v5.16-rc1 36/36] drivers/power/supply/samsung-sdi-battery.c:393:5: error: redefinition of 'samsung_sdi_battery_get_info' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox