Hi David,
This patch series allows most of the Freescale Ethernet drivers to be built
with COMPILE_TEST and all Marvell drivers to build with COMPILE_TEST.
This is helpful to increase build coverage without requiring hacking into
Kconfig anymore.
Florian Fainelli (2):
net: fsl: Allow most drivers to be built with COMPILE_TEST
net: marvell: Allow drivers to be built with COMPILE_TEST
drivers/net/ethernet/freescale/Kconfig | 3 ++-
drivers/net/ethernet/marvell/Kconfig | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
--
2.9.3
There are only a handful of Freescale Ethernet drivers that don't
actually build with COMPILE_TEST:
* FEC, for which we would need to define a default register layout if no
supported architecture is defined
* UCC_GETH which depends on PowerPC cpm.h header (which could be moved
to a generic location)
We need to fix an unmet dependency to get there though:
warning: (FSL_XGMAC_MDIO) selects OF_MDIO which has unmet direct
dependencies (OF && PHYLIB)
which would result in CONFIG_OF_MDIO=[ym] without CONFIG_OF to be set.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/ethernet/freescale/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
All Marvell Ethernet drivers actually build fine with COMPILE_TEST with
a few warnings.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/ethernet/marvell/Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
#define FS (1<<28) /* FIPER start indication */
In file included from arch/x86/include/uapi/asm/ptrace.h:5:0,
from arch/x86/include/asm/ptrace.h:6,
from arch/x86/include/asm/math_emu.h:4,
from arch/x86/include/asm/processor.h:11,
from include/linux/mutex.h:19,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/device.h:17,
from drivers/net/ethernet/freescale/gianfar_ptp.c:23:
arch/x86/include/uapi/asm/ptrace-abi.h:15:0: note: this is the location of the previous definition
#define FS 9
(.text+0x19a18cc): undefined reference to `.mvebu_mbus_get_dram_win_info'
drivers/built-in.o: In function `.brcmf_create_iovar.constprop.1':
fwil.c:(.text+0x1ff95f0): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.memcpy' defined in .text section in arch/powerpc/lib/built-in.o
fwil.c:(.text+0x1ff9614): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.memcpy' defined in .text section in arch/powerpc/lib/built-in.o
drivers/built-in.o: In function `.brcmf_create_bsscfg.constprop.0':
fwil.c:(.text+0x1ff976c): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.memcpy' defined in .text section in arch/powerpc/lib/built-in.o
fwil.c:(.text+0x1ff9790): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.memcpy' defined in .text section in arch/powerpc/lib/built-in.o
drivers/built-in.o: In function `.brcmf_fil_cmd_data_get':
(.text+0x1ff9c7c): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.debug_lockdep_rcu_enabled' defined in .text section in kernel/built-in.o
drivers/built-in.o: In function `.brcmf_fil_cmd_data_get':
(.text+0x1ff9dc4): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.debug_lockdep_rcu_enabled' defined in .text section in kernel/built-in.o
drivers/built-in.o: In function `.brcmf_fil_iovar_data_set':
(.text+0x1ffa1ac): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.debug_lockdep_rcu_enabled' defined in .text section in kernel/built-in.o
drivers/built-in.o: In function `.brcmf_fil_iovar_data_set':
(.text+0x1ffa2f4): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.debug_lockdep_rcu_enabled' defined in .text section in kernel/built-in.o
drivers/built-in.o: In function `.brcmf_fil_iovar_data_get':
(.text+0x1ffa51c): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.memcpy' defined in .text section in arch/powerpc/lib/built-in.o
drivers/built-in.o: In function `.brcmf_fil_iovar_data_get':
(.text+0x1ffa5fc): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol `.debug_lockdep_rcu_enabled' defined in .text section in kernel/built-in.o
drivers/built-in.o: In function `.brcmf_fil_iovar_data_get':
(.text+0x1ffa744): additional relocation overflows omitted from the output
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
jme.c:(.text+0xda4a4c): undefined reference to `mvebu_mbus_get_dram_win_info'
drivers/built-in.o: In function `mvneta_bm_pool_use':
(.text+0xdac8dc): undefined reference to `mvebu_mbus_get_dram_win_info'
drivers/built-in.o: In function `pc87427_find':
pc87427.c:(.init.text+0x37bdd): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1449c)
pc87427.c:(.init.text+0x37c19): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144a0)
drivers/built-in.o: In function `pc87427_init':
pc87427.c:(.init.text+0x37d64): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144a8)
pc87427.c:(.init.text+0x37da9): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144ac)
pc87427.c:(.init.text+0x37dc3): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144b0)
pc87427.c:(.init.text+0x37dcd): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144b4)
pc87427.c:(.init.text+0x37dd8): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144b8)
pc87427.c:(.init.text+0x37de0): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144bc)
pc87427.c:(.init.text+0x37dfe): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144c0)
pc87427.c:(.init.text+0x37e1f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144c4)
pc87427.c:(.init.text+0x37e3b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144c8)
drivers/built-in.o: In function `pc87427_find':
pc87427.c:(.init.text+0x37be6): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144a4)
drivers/built-in.o: In function `pc87427_init':
pc87427.c:(.init.text+0x37d6b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144cc)
pc87427.c:(.init.text+0x37d92): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144d0)
pc87427.c:(.init.text+0x37dd2): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144d4)
pc87427.c:(.init.text+0x37de6): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144d8)
pc87427.c:(.init.text+0x37df4): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144dc)
pc87427.c:(.init.text+0x37e03): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144e0)
pc87427.c:(.init.text+0x37e13): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144e4)
pc87427.c:(.init.text+0x37e22): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144e8)
pc87427.c:(.init.text+0x37e30): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144ec)
pc87427.c:(.init.text+0x37e40): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144f0)
pc87427.c:(.init.text+0x37e4a): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144f4)
pc87427.c:(.init.text+0x37e54): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144f8)
drivers/built-in.o: In function `pcf8591_init':
pcf8591.c:(.init.text+0x37e5f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x144fc)
pcf8591.c:(.init.text+0x37e6b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14500)
pcf8591.c:(.init.text+0x37e79): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14504)
pcf8591.c:(.init.text+0x37e6e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14508)
pcf8591.c:(.init.text+0x37e7e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1450c)
drivers/built-in.o: In function `powr1220_driver_init':
powr1220.c:(.init.text+0x37e8b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14510)
powr1220.c:(.init.text+0x37e92): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14514)
drivers/built-in.o: In function `pwm_fan_driver_init':
pwm-fan.c:(.init.text+0x37e9f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14518)
pwm-fan.c:(.init.text+0x37ea6): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1451c)
drivers/built-in.o: In function `sch56xx_find':
sch56xx-common.c:(.init.text+0x37eb3): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14520)
sch56xx-common.c:(.init.text+0x37eb6): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14524)
sch56xx-common.c:(.init.text+0x37eb9): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14528)
sch56xx-common.c:(.init.text+0x37ecc): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1452c)
sch56xx-common.c:(.init.text+0x37f01): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14530)
sch56xx-common.c:(.init.text+0x37f09): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14534)
sch56xx-common.c:(.init.text+0x37f11): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14538)
sch56xx-common.c:(.init.text+0x37f1b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1453c)
sch56xx-common.c:(.init.text+0x37f45): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14540)
sch56xx-common.c:(.init.text+0x37f7a): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14544)
drivers/built-in.o: In function `sch56xx_init':
sch56xx-common.c:(.init.text+0x37fe9): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14560)
sch56xx-common.c:(.init.text+0x38004): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14564)
sch56xx-common.c:(.init.text+0x3801f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14568)
drivers/built-in.o: In function `sch56xx_find':
sch56xx-common.c:(.init.text+0x37ec4): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14548)
sch56xx-common.c:(.init.text+0x37ed2): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1454c)
sch56xx-common.c:(.init.text+0x37f1e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14550)
sch56xx-common.c:(.init.text+0x37f4a): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14554)
sch56xx-common.c:(.init.text+0x37f7f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14558)
sch56xx-common.c:(.init.text+0x37f94): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1455c)
drivers/built-in.o: In function `sch56xx_init':
sch56xx-common.c:(.init.text+0x37fce): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1456c)
sch56xx-common.c:(.init.text+0x37fe3): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14570)
sch56xx-common.c:(.init.text+0x37ffa): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14574)
sch56xx-common.c:(.init.text+0x38007): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14578)
sch56xx-common.c:(.init.text+0x38014): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1457c)
sch56xx-common.c:(.init.text+0x38022): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14580)
sch56xx-common.c:(.init.text+0x3802c): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14584)
drivers/built-in.o: In function `sch5627_driver_init':
sch5627.c:(.init.text+0x38037): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14588)
sch5627.c:(.init.text+0x3803e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1458c)
drivers/built-in.o: In function `sch5636_driver_init':
sch5636.c:(.init.text+0x3804b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14590)
sch5636.c:(.init.text+0x38052): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14594)
drivers/built-in.o: In function `sht15_driver_init':
sht15.c:(.init.text+0x3805f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x14598)
sht15.c:(.init.text+0x38066): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x1459c)
drivers/built-in.o: In function `sht21_driver_init':
sht21.c:(.init.text+0x38073): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145a0)
sht21.c:(.init.text+0x3807a): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145a4)
drivers/built-in.o: In function `sht3x_i2c_driver_init':
sht3x.c:(.init.text+0x38087): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145a8)
sht3x.c:(.init.text+0x3808e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145ac)
drivers/built-in.o: In function `shtc1_i2c_driver_init':
shtc1.c:(.init.text+0x3809b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145b0)
shtc1.c:(.init.text+0x380a2): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145b4)
drivers/built-in.o: In function `sm_sis5595_init':
sis5595.c:(.init.text+0x380af): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145bc)
sis5595.c:(.init.text+0x380b2): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145b8)
sis5595.c:(.init.text+0x380ba): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145c0)
drivers/built-in.o: In function `smm665_driver_init':
smm665.c:(.init.text+0x380c7): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145c4)
smm665.c:(.init.text+0x380ce): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145c8)
drivers/built-in.o: In function `smsc47b397_init':
smsc47b397.c:(.init.text+0x380e5): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145d8)
smsc47b397.c:(.init.text+0x3810e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.init.literal+0x145d0)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation