Re: [PATCH v1 4/4] power: max17040: get thermal data from adc if available
From: kernel test robot
Date: Wed Mar 08 2023 - 19:25:29 EST
Hi Svyatoslav,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on sre-power-supply/for-next]
[also build test ERROR on krzk-dt/for-next linus/master v6.3-rc1 next-20230308]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Svyatoslav-Ryhel/dt-bindings-power-supply-maxim-max17040-update-properties/20230308-164538
base: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next
patch link: https://lore.kernel.org/r/20230308084419.11934-5-clamor95%40gmail.com
patch subject: [PATCH v1 4/4] power: max17040: get thermal data from adc if available
config: hexagon-randconfig-r035-20230308 (https://download.01.org/0day-ci/archive/20230309/202303090817.SuiCpxvy-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
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/intel-lab-lkp/linux/commit/7b9bbf6f2b910ef4ffab18022223573e9094f007
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Svyatoslav-Ryhel/dt-bindings-power-supply-maxim-max17040-update-properties/20230308-164538
git checkout 7b9bbf6f2b910ef4ffab18022223573e9094f007
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303090817.SuiCpxvy-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: iio_channel_release
>>> referenced by max17040_battery.c:586 (drivers/power/supply/max17040_battery.c:586)
>>> drivers/power/supply/max17040_battery.o:(max17040_remove) in archive vmlinux.a
>>> referenced by max17040_battery.c:586 (drivers/power/supply/max17040_battery.c:586)
>>> drivers/power/supply/max17040_battery.o:(max17040_remove) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: iio_channel_get
>>> referenced by max17040_battery.c:572 (drivers/power/supply/max17040_battery.c:572)
>>> drivers/power/supply/max17040_battery.o:(max17040_probe) in archive vmlinux.a
>>> referenced by max17040_battery.c:572 (drivers/power/supply/max17040_battery.c:572)
>>> drivers/power/supply/max17040_battery.o:(max17040_probe) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: iio_read_channel_raw
>>> referenced by max17040_battery.c:422 (drivers/power/supply/max17040_battery.c:422)
>>> drivers/power/supply/max17040_battery.o:(max17040_get_property) in archive vmlinux.a
>>> referenced by max17040_battery.c:422 (drivers/power/supply/max17040_battery.c:422)
>>> drivers/power/supply/max17040_battery.o:(max17040_get_property) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests