Skip to contentSkip to conversation

qed: select CONFIG_CRC32

PATCH In review Arnd Bergmann 5 participants 12 messages Jan 3, 2021 – Jan 14, 2021

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 qed: select CONFIG_CRC32

From: Arnd Bergmann <[email protected]>

Without this, the driver fails to link:

lpc_eth.c:(.text+0x1934): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_grc_dump':
qed_debug.c:(.text+0x4068): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_idle_chk_dump':
qed_debug.c:(.text+0x51fc): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_mcp_trace_dump':
qed_debug.c:(.text+0x6000): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_dbg_reg_fifo_dump':
qed_debug.c:(.text+0x66cc): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o:qed_debug.c:(.text+0x6aa4): more undefined references to `crc32_le' follow

Fixes 7a4b21b7d1f0 ("qed: Add nvram selftest")
---
 drivers/net/ethernet/qlogic/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/qlogic/Kconfig +1 -0
index 4366c7a8de95..6b5ddb07ee83 100644
@@ -78,6 +78,7 @@ config QED
 	depends on PCI
 	select ZLIB_INFLATE
 	select CRC8
+	select CRC32
 	select NET_DEVLINK
 	help
 	  This enables the support for Marvell FastLinQ adapters family.
Signature · 1 line
2.29.2
#1 lore raw

PATCH 2/7 phy: dp83640: select CONFIG_CRC32

From: Arnd Bergmann <[email protected]>

Without crc32, this driver fails to link:

arm-linux-gnueabi-ld: drivers/net/phy/dp83640.o: in function `match':
dp83640.c:(.text+0x476c): undefined reference to `crc32_le'

Fixes 539e44d26855 ("dp83640: Include hash in timestamp/packet matching")
---
 drivers/ptp/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/ptp/Kconfig +1 -0
index 476d7c7fe70a..d2bf05ccbbe2 100644
@@ -64,6 +64,7 @@ config DP83640_PHY
 	depends on NETWORK_PHY_TIMESTAMPING
 	depends on PHYLIB
 	depends on PTP_1588_CLOCK
+	select CRC32
 	help
 	  Supports the DP83640 PHYTER with IEEE 1588 features.
 
Signature · 1 line
2.29.2
#4 lore raw

PATCH 3/7 can: kvaser_pciefd: select CONFIG_CRC32

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32, this driver fails to link:

arm-linux-gnueabi-ld: drivers/net/can/kvaser_pciefd.o: in function `kvaser_pciefd_probe':
kvaser_pciefd.c:(.text+0x2b0): undefined reference to `crc32_be'

Fixes 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
---
 drivers/net/can/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/can/Kconfig +1 -0
index 424970939fd4..1c28eade6bec 100644
@@ -123,6 +123,7 @@ config CAN_JANZ_ICAN3
 config CAN_KVASER_PCIEFD
 	depends on PCI
 	tristate "Kvaser PCIe FD cards"
+	select CRC32
 	  help
 	  This is a driver for the Kvaser PCI Express CAN FD family.
 
Signature · 1 line
2.29.2
#6 lore raw

PATCH 4/7 wil6210: select CONFIG_CRC32

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32, the driver fails to link:

arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o: in function `wil_fw_verify':
fw.c:(.text+0x74c): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o:fw.c:(.text+0x758): more undefined references to `crc32_le' follow

Fixes 151a9706503f ("wil6210: firmware download")
---
 drivers/net/wireless/ath/wil6210/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/Kconfig +1 -0
index 6a95b199bf62..f074e9c31aa2 100644
@@ -2,6 +2,7 @@
 config WIL6210
 	tristate "Wilocity 60g WiFi card wil6210 support"
 	select WANT_DEV_COREDUMP
+	select CRC32
 	depends on CFG80211
 	depends on PCI
 	default n
Signature · 1 line
2.29.2
#9 lore raw

PATCH 5/7 cfg80211: select CONFIG_CRC32

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32 support, this fails to link:

arm-linux-gnueabi-ld: net/wireless/scan.o: in function `cfg80211_scan_6ghz':
scan.c:(.text+0x928): undefined reference to `crc32_le'

Fixes c8cb5b854b40 ("nl80211/cfg80211: support 6 GHz scanning")
---
 net/wireless/Kconfig | 1 +
 1 file changed, 1 insertion(+)
net/wireless/Kconfig +1 -0
index 27026f587fa6..f620acd2a0f5 100644
@@ -21,6 +21,7 @@ config CFG80211
 	tristate "cfg80211 - wireless configuration API"
 	depends on RFKILL || !RFKILL
 	select FW_LOADER
+	select CRC32
 	# may need to update this when certificates are changed and are
 	# using a different algorithm, though right now they shouldn't
 	# (this is here rather than below to allow it to be a module)
Signature · 1 line
2.29.2
#10 lore raw

PATCH 6/7 misdn: dsp: select CONFIG_BITREVERSE

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without this, we run into a link error

arm-linux-gnueabi-ld: drivers/isdn/mISDN/dsp_audio.o: in function `dsp_audio_generate_law_tables':
(.text+0x30c): undefined reference to `byte_rev_table'
arm-linux-gnueabi-ld: drivers/isdn/mISDN/dsp_audio.o:(.text+0x5e4): more undefined references to `byte_rev_table' follow

---
 drivers/isdn/mISDN/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/isdn/mISDN/Kconfig +1 -0
index 26cf0ac9c4ad..c9a53c222472 100644
@@ -13,6 +13,7 @@ if MISDN != n
 config MISDN_DSP
 	tristate "Digital Audio Processing of transparent data"
 	depends on MISDN
+	select BITREVERSE
 	help
 	  Enable support for digital audio processing capability.
 
Signature · 1 line
2.29.2
#11 lore raw

PATCH 7/7 wan: ds26522: select CONFIG_BITREVERSE

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without this, the driver runs into a link failure

arm-linux-gnueabi-ld: drivers/net/wan/slic_ds26522.o: in function `slic_ds26522_probe':
slic_ds26522.c:(.text+0x100c): undefined reference to `byte_rev_table'
arm-linux-gnueabi-ld: slic_ds26522.c:(.text+0x1cdc): undefined reference to `byte_rev_table'
arm-linux-gnueabi-ld: drivers/net/wan/slic_ds26522.o: in function `slic_write':
slic_ds26522.c:(.text+0x1e4c): undefined reference to `byte_rev_table'

Fixes c37d4a0085c5 ("Maxim/driver: Add driver for maxim ds26522")
---
 drivers/net/wan/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wan/Kconfig +1 -0
index 8931ef529065..a187c814a4a6 100644
@@ -282,6 +282,7 @@ config SLIC_DS26522
 	tristate "Slic Maxim ds26522 card support"
 	depends on SPI
 	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
+	select BITREVERSE
 	help
 	  This module initializes and configures the slic maxim card
 	  in T1 or E1 mode.
Signature · 1 line
2.29.2
Reviewed-by on v1 2/7
#2 lore raw

Re: [PATCH 2/7] phy: dp83640: select CONFIG_CRC32

In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32, this driver fails to link:

arm-linux-gnueabi-ld: drivers/net/phy/dp83640.o: in function `match':
dp83640.c:(.text+0x476c): undefined reference to `crc32_le'

Fixes 539e44d26855 ("dp83640: Include hash in timestamp/packet matching")

Andrew

maintainer Acked-by on v1 3/7
#5 lore raw

Re: [PATCH 3/7] can: kvaser_pciefd: select CONFIG_CRC32

In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32, this driver fails to link:

arm-linux-gnueabi-ld: drivers/net/can/kvaser_pciefd.o: in function `kvaser_pciefd_probe':
kvaser_pciefd.c:(.text+0x2b0): undefined reference to `crc32_be'

Fixes 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")

regrards,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |
maintainer Acked-by on v1 2/7
#3 lore raw

Re: [PATCH 2/7] phy: dp83640: select CONFIG_CRC32

In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32, this driver fails to link:

arm-linux-gnueabi-ld: drivers/net/phy/dp83640.o: in function `match':
dp83640.c:(.text+0x476c): undefined reference to `crc32_le'

Fixes 539e44d26855 ("dp83640: Include hash in timestamp/packet matching")
#7 lore raw

Re: [PATCH 4/7] wil6210: select CONFIG_CRC32

In reply to Arnd Bergmann
Quoted 10 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32, the driver fails to link:

arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o: in function `wil_fw_verify':
fw.c:(.text+0x74c): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o:fw.c:(.text+0x758): more undefined references to `crc32_le' follow

Fixes 151a9706503f ("wil6210: firmware download")

I'll queue this to v5.11.

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
#8 lore raw

Re: [PATCH 4/7] wil6210: select CONFIG_CRC32

In reply to Arnd Bergmann
Quoted 10 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without crc32, the driver fails to link:

arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o: in function `wil_fw_verify':
fw.c:(.text+0x74c): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o:fw.c:(.text+0x758): more undefined references to `crc32_le' follow

Fixes 151a9706503f ("wil6210: firmware download")

Dave had already applied this so dropping from my queue.

Patch set to Not Applicable.

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches