nouveau_drm.c:undefined reference to `nouveau_led_suspend'

From: kbuild test robot
Date: Sun Jan 22 2017 - 20:12:18 EST


Hi Martin,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7a308bb3016f57e5be11a677d15b821536419d36
commit: 8d021d71b3247937a26ffdf313fd53a9d58778b7 drm/nouveau/drm/nouveau: add a LED driver for the NVIDIA logo
date: 3 months ago
config: x86_64-randconfig-ne0-01230633 (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+0x976bd1): undefined reference to `nouveau_led_suspend'
drivers/built-in.o: In function `nouveau_do_resume':
>> nouveau_drm.c:(.text+0x97757f): undefined reference to `nouveau_led_resume'
drivers/built-in.o: In function `nouveau_drm_unload':
>> nouveau_drm.c:(.text+0x97813b): undefined reference to `nouveau_led_fini'
drivers/built-in.o: In function `nouveau_drm_load':
>> nouveau_drm.c:(.text+0x9797ea): 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