nouveau_drm.c:undefined reference to `nouveau_led_suspend'

From: kbuild test robot
Date: Wed Dec 14 2016 - 19:59:15 EST


Hi Martin,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 412ac77a9d3ec015524dacea905471d66480b7ac
commit: 8d021d71b3247937a26ffdf313fd53a9d58778b7 drm/nouveau/drm/nouveau: add a LED driver for the NVIDIA logo
date: 9 weeks ago
config: x86_64-randconfig-s3-12150452 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 8d021d71b3247937a26ffdf313fd53a9d58778b7
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/built-in.o: In function `nouveau_do_suspend':
>> nouveau_drm.c:(.text+0x17f141): undefined reference to `nouveau_led_suspend'
drivers/built-in.o: In function `nouveau_do_resume':
>> nouveau_drm.c:(.text+0x17f532): undefined reference to `nouveau_led_resume'
drivers/built-in.o: In function `nouveau_drm_unload':
>> nouveau_drm.c:(.text+0x17f964): undefined reference to `nouveau_led_fini'
drivers/built-in.o: In function `nouveau_drm_load':
>> nouveau_drm.c:(.text+0x18001c): undefined reference to `nouveau_led_init'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip