Skip to contentSkip to conversation

drivers/net/wireless/ath/ath9k/ath9k_htc.o:(.data+0x47c): multiple definition of `led_blink'

PATCH Kalle Valo 1 participant 1 message Jan 24, 2015 2 messages not in the archive

lore
Share & tools
lore

Kalle Valo

author
#2 lore raw
In reply to a message not in the archive

(Adding linux-wireless)

Quoted 13 lines · Hong Xu
Quoted 11 lines · kbuild test robot
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
head:   c5ed1df781cb544d4e4d189bb5b6ec7336d8888c
commit: 3a939a671225909c19b09bfcb6e4761109e913d9 [119/130] ath9k_htc: Add a module parameter to disable blink
config: xtensa-allyesconfig (attached as .config)

reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout 3a939a671225909c19b09bfcb6e4761109e913d9

  # save the attached .config to linux build tree
  make.cross ARCH=xtensa 
Quoted 8 lines
Quoted 5 lines

All error/warnings:

Quoted 1 line
Quoted 1 line

drivers/net/wireless/ath/ath9k/ath9k_htc.o:(.data+0x47c): multiple definition of `led_blink'

drivers/net/wireless/ath/ath9k/ath9k.o:(.bss+0x20): first defined here

This should not be a problem if the driver is built as a module. If you consider this is a problem we can simply change the variable name.

This is a problem, please send a fix which I can apply to wireless-drivers-next.

Signature · 1 line
Kalle Valo