[linux-next:master 5947/10830] include/linux/leds.h:299:(.text.igc_led_setup+0x170): undefined reference to `devm_led_classdev_register_ext'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e
commit: ea578703b03d5d651b091c39f717dc829155b520 [5947/10830] igc: Add support for LEDs on i225/i226
config: powerpc-randconfig-r004-20230504 (https://download.01.org/0day-ci/archive/20240229/202402290415.zUrgBrwr-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240229/202402290415.zUrgBrwr-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/202402290415.zUrgBrwr-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   powerpc-linux-ld: drivers/net/ethernet/intel/igc/igc_leds.o: in function `devm_led_classdev_register':
>> include/linux/leds.h:299:(.text.igc_led_setup+0x170): undefined reference to `devm_led_classdev_register_ext'


vim +299 include/linux/leds.h

7c322056e3564d Jacek Anaszewski 2019-08-26  295  
7c322056e3564d Jacek Anaszewski 2019-08-26  296  static inline int devm_led_classdev_register(struct device *parent,
7c322056e3564d Jacek Anaszewski 2019-08-26  297  					     struct led_classdev *led_cdev)
7c322056e3564d Jacek Anaszewski 2019-08-26  298  {
7c322056e3564d Jacek Anaszewski 2019-08-26 @299  	return devm_led_classdev_register_ext(parent, led_cdev, NULL);
7c322056e3564d Jacek Anaszewski 2019-08-26  300  }
ec28a8cfdce630 Dan Murphy       2019-10-02  301  void led_classdev_unregister(struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy       2019-10-02  302  void devm_led_classdev_unregister(struct device *parent,
ca1bb4ee4c3a01 Bjorn Andersson  2015-02-23  303  				  struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy       2019-10-02  304  void led_classdev_suspend(struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy       2019-10-02  305  void led_classdev_resume(struct led_classdev *led_cdev);
c72a1d608dd0eb Richard Purdie   2006-03-31  306  

:::::: The code at line 299 was first introduced by commit
:::::: 7c322056e3564da1b5bdc3f3cb79229582955eb2 leds: Replace {devm_}led_classdev_register() macros with inlines

:::::: TO: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>
:::::: CC: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux