linux_dsm_epyc7002/drivers/net/ethernet/dec/tulip
Kees Cook 3e66b7cc50 net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
Building with Clang reports the redundant use of MODULE_DEVICE_TABLE():

drivers/net/ethernet/dec/tulip/de4x5.c:2110:1: error: redefinition of '__mod_eisa__de4x5_eisa_ids_device_table'
MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids);
^
./include/linux/module.h:229:21: note: expanded from macro 'MODULE_DEVICE_TABLE'
extern typeof(name) __mod_##type##__##name##_device_table               \
                    ^
<scratch space>:90:1: note: expanded from here
__mod_eisa__de4x5_eisa_ids_device_table
^
drivers/net/ethernet/dec/tulip/de4x5.c:2100:1: note: previous definition is here
MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids);
^
./include/linux/module.h:229:21: note: expanded from macro 'MODULE_DEVICE_TABLE'
extern typeof(name) __mod_##type##__##name##_device_table               \
                    ^
<scratch space>:85:1: note: expanded from here
__mod_eisa__de4x5_eisa_ids_device_table
^

This drops the one further from the table definition to match the common
use of MODULE_DEVICE_TABLE().

Fixes: 07563c711f ("EISA bus MODALIAS attributes support")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-26 21:50:11 -07:00
..
21142.c
de4x5.c net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE() 2019-05-26 21:50:11 -07:00
de4x5.h
de2104x.c net: tulip: de2104x: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-06 17:38:15 -08:00
dmfe.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
eeprom.c tulip: eeprom: use struct_size() in kmalloc() 2019-02-01 15:12:29 -08:00
interrupt.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media.c
pnic2.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
pnic.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
timer.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
tulip_core.c net: tulip_core: mark expected switch fall-through 2018-08-07 17:54:19 -07:00
tulip.h net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
uli526x.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
winbond-840.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
xircom_cb.c