From: kernel test robot <lkp@intel.com>
To: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Takashi Iwai <tiwai@suse.de>
Subject: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
Date: Fri, 5 Jun 2020 19:32:22 +0800 [thread overview]
Message-ID: <202006051910.H0caEOal%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2689 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 435faf5c218a47fd6258187f62d9bb1009717896
commit: 87dc36482cab3a4ea34f203fc3f4da35712eb783 ALSA: hda/realtek - Add LED class support for micmute LED
date: 5 weeks ago
config: i386-randconfig-a002-20200526 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout 87dc36482cab3a4ea34f203fc3f4da35712eb783
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ld: sound/pci/hda/patch_realtek.o: in function `devm_led_classdev_register':
>> include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
vim +193 include/linux/leds.h
7c322056e3564d Jacek Anaszewski 2019-08-26 185
ec28a8cfdce630 Dan Murphy 2019-10-02 186 int devm_led_classdev_register_ext(struct device *parent,
b2b998c0f94499 Jacek Anaszewski 2019-06-09 187 struct led_classdev *led_cdev,
b2b998c0f94499 Jacek Anaszewski 2019-06-09 188 struct led_init_data *init_data);
7c322056e3564d Jacek Anaszewski 2019-08-26 189
7c322056e3564d Jacek Anaszewski 2019-08-26 190 static inline int devm_led_classdev_register(struct device *parent,
7c322056e3564d Jacek Anaszewski 2019-08-26 191 struct led_classdev *led_cdev)
7c322056e3564d Jacek Anaszewski 2019-08-26 192 {
7c322056e3564d Jacek Anaszewski 2019-08-26 @193 return devm_led_classdev_register_ext(parent, led_cdev, NULL);
7c322056e3564d Jacek Anaszewski 2019-08-26 194 }
ec28a8cfdce630 Dan Murphy 2019-10-02 195 void led_classdev_unregister(struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy 2019-10-02 196 void devm_led_classdev_unregister(struct device *parent,
ca1bb4ee4c3a01 Bjorn Andersson 2015-02-23 197 struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy 2019-10-02 198 void led_classdev_suspend(struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy 2019-10-02 199 void led_classdev_resume(struct led_classdev *led_cdev);
c72a1d608dd0eb Richard Purdie 2006-03-31 200
:::::: The code at line 193 was first introduced by commit
:::::: 7c322056e3564da1b5bdc3f3cb79229582955eb2 leds: Replace {devm_}led_classdev_register() macros with inlines
:::::: TO: Jacek Anaszewski <jacek.anaszewski@gmail.com>
:::::: CC: Jacek Anaszewski <jacek.anaszewski@gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34633 bytes --]
reply other threads:[~2020-06-05 12:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202006051910.H0caEOal%lkp@intel.com \
--to=lkp@intel.com \
--cc=kai.heng.feng@canonical.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®