Subject: [linusw-nomadik:ux500-href-charging-v5.16-rc1 32/58] drivers/power/supply/cw2015_battery.c:692:12-18: ERROR: application of sizeof to pointer

From: kernel test robot <[email-masked]>
Date: Mon, 17 Jan 2022 09:48:48 +0800

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-href-charging-v5.16-rc1
head:   1e846b0b60ac01cac4f283975a1bc395ff73d995
commit: 0839e7a54fc2233ea74b21651d022b981c124f78 [32/58] power: supply_core: Pass pointer to battery info
config: xtensa-randconfig-c004-20220116 (https://download.01.org/0day-ci/archive/20220117/[email-masked]/config)
compiler: xtensa-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email-masked]>

cocci warnings: (new ones prefixed by >>)
>> drivers/power/supply/cw2015_battery.c:692:12-18: ERROR: application of sizeof to pointer

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email-masked]

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel