Re: [PATCH v2 2/2] leds: add new LED driver for TI LP5812

From: kernel test robot
Date: Mon Mar 03 2025 - 14:49:01 EST


Hi Nam,

kernel test robot noticed the following build errors:

[auto build test ERROR on lee-leds/for-leds-next]
[also build test ERROR on robh/for-next linus/master v6.14-rc5]
[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/Nam-Tran/dt-bindings-leds-Add-LP5812-LED-driver-bindings/20250226-011634
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git for-leds-next
patch link: https://lore.kernel.org/r/20250225170601.21334-3-trannamatk%40gmail.com
patch subject: [PATCH v2 2/2] leds: add new LED driver for TI LP5812
config: x86_64-randconfig-006-20250303 (https://download.01.org/0day-ci/archive/20250304/202503040306.gen0Ui0l-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250304/202503040306.gen0Ui0l-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/202503040306.gen0Ui0l-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: i2c_register_driver
>>> referenced by leds-lp5812.c:2313 (drivers/leds/leds-lp5812.c:2313)
>>> vmlinux.o:(lp5812_driver_init)
--
>> ld.lld: error: undefined symbol: i2c_del_driver
>>> referenced by leds-lp5812.c:2313 (drivers/leds/leds-lp5812.c:2313)
>>> vmlinux.o:(lp5812_driver_exit)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki