ld.lld: error: undefined symbol: gpiochip_get_data
From: kernel test robot
Date: Wed Feb 18 2026 - 17:40:25 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 23b0f90ba871f096474e1c27c3d14f455189d2d9
commit: da1d3596b1e456b5d5d5f719bbf5ce562f4fe22d iio: adc: ad4062: Add GPIO Controller support
date: 7 weeks ago
config: s390-randconfig-002-20260219 (https://download.01.org/0day-ci/archive/20260219/202602190633.Rq12lOqw-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260219/202602190633.Rq12lOqw-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602190633.Rq12lOqw-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: devm_gpiochip_add_data_with_key
>>> referenced by ad4062.c:1464 (drivers/iio/adc/ad4062.c:1464)
>>> drivers/iio/adc/ad4062.o:(ad4062_gpio_init) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: gpiochip_get_data
>>> referenced by ad4062.c:1409 (drivers/iio/adc/ad4062.c:1409)
>>> drivers/iio/adc/ad4062.o:(ad4062_gpio_init_valid_mask) in archive vmlinux.a
>>> referenced by ad4062.c:1363 (drivers/iio/adc/ad4062.c:1363)
>>> drivers/iio/adc/ad4062.o:(ad4062_gpio_set) in archive vmlinux.a
>>> referenced by ad4062.c:1378 (drivers/iio/adc/ad4062.c:1378)
>>> drivers/iio/adc/ad4062.o:(ad4062_gpio_get) in archive vmlinux.a
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CAN_DEV
Depends on [n]: NETDEVICES [=n] && CAN [=y]
Selected by [y]:
- CAN [=y] && NET [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki