ir-functions.c:(.text+0xbce18): undefined reference to `input_event'
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 ir-functions.c:(.text+0xbce18): undefined reference to `input_event'
[[email protected] wrote:]
From: Randy Dunlap <[email protected]>
Drivers that use lro functions should depend on INET, otherwise they may not link correctly. Let's not select INET. Select should be used only for library-like code, not to enable subsystems.
ERROR: "lro_flush_all" [drivers/net/myri10ge/myri10ge.ko] undefined!
ERROR: "lro_receive_frags" [drivers/net/myri10ge/myri10ge.ko] undefined!
---drivers/net/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/Kconfig +0 -0
@@ -2494,7 +2494,7 @@ config CHELSIO_T3
config EHEA
tristate "eHEA Ethernet support"
- depends on IBMEBUS
+ depends on IBMEBUS && INET
select INET_LRO ---help--- This driver supports the IBM pSeries eHEA ethernet adapter.
@@ -2591,7 +2591,7 @@ config S2IO_NAPI
config MYRI10GE
tristate "Myricom Myri-10G Ethernet support"
- depends on PCI
+ depends on PCI && INET
select FW_LOADER
select CRC32
select INET_LRO
From: Randy Dunlap <[email protected]>
Date: Thu, 18 Oct 2007 21:53:50 -0700
Quoted 6 lines
[[email protected] wrote:]
From: Randy Dunlap <[email protected]>
Quoted 8 lines
Drivers that use lro functions should depend on INET, otherwise they may not link correctly. Let's not select INET. Select should be used only for library-like code, not to enable subsystems.
ERROR: "
lro_flush_all" [drivers/net/myri10ge/myri10ge.ko] undefined!
ERROR: "lro_receive_frags" [drivers/net/myri10ge/myri10ge.ko] undefined!Signed-off-by Randy Dunlap <[email protected]>
Jeff, please pick this one up too, thanks!
Quoted 13 lines · On Thu, 18 Oct 2007 22:02:22 -0700 (PDT) David Miller wrote:
From: Randy Dunlap <[email protected]>
Date: Thu, 18 Oct 2007 21:53:50 -0700Quoted 10 lines
[[email protected] wrote:]
From: Randy Dunlap <[email protected]>
Drivers that use lro functions should depend on INET, otherwise they may not link correctly. Let's not select INET. Select should be used only for library-like code, not to enable subsystems.
Quoted 8 lines
Quoted 4 lines
ERROR: "
lro_flush_all" [drivers/net/myri10ge/myri10ge.ko] undefined!
ERROR: "lro_receive_frags" [drivers/net/myri10ge/myri10ge.ko] undefined!Signed-off-by Randy Dunlap <[email protected]>Acked-by David S. Miller <[email protected]>Jeff, please pick this one up too, thanks!
This patch is for kernel bugzilla #9186, not #9187. Clerical error, sorry about that.
---
~Randy
Jeff Garzik
AppliedQuoted 6 lines · Randy Dunlap
[[email protected] wrote:]
From: Randy Dunlap <[email protected]>
Quoted 8 lines
Drivers that use lro functions should depend on INET, otherwise they may not link correctly. Let's not select INET. Select should be used only for library-like code, not to enable subsystems.
ERROR: "
lro_flush_all" [drivers/net/myri10ge/myri10ge.ko] undefined!
ERROR: "lro_receive_frags" [drivers/net/myri10ge/myri10ge.ko] undefined!Signed-off-by Randy Dunlap <[email protected]>
applied