linux-arm-kernel.lists.infradead.org archive mirror
 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  2:34 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-14  2:34 UTC (permalink / raw)
  To: Linus Walleij; +Cc: 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: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20211214/202112141005.Sh9OZ9XN-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.2.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://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=gcc-11.2.0 make.cross O=build_dir ARCH=m68k 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'
     393 | int samsung_sdi_battery_get_info(struct device *dev,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/power/supply/samsung-sdi-battery.c:10:
   drivers/power/supply/samsung-sdi-battery.h:7:19: note: previous definition of 'samsung_sdi_battery_get_info' with type 'int(struct device *, struct device_node *, struct power_supply_battery_info **)'
       7 | static inline int samsung_sdi_battery_get_info(struct device *dev,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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; 2+ messages 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-14 19:13 UTC | newest]

Thread overview: 2+ messages (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
  -- strict thread matches above, loose matches on Subject: below --
2021-12-14  2:34 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;
as well as URLs for NNTP newsgroup(s).