qed: select ZLIB_INFLATE
Subsystems (2)
PATCH 1/1 qed: select ZLIB_INFLATE
The newly added qlogic qed driver uses the zlib library, but misses the dependency:
drivers/built-in.o: In function `qed_alloc_stream_mem':drivers/net/ethernet/qlogic/qed/qed_main.c:707: undefined reference to zlib_inflate_workspacesize' drivers/built-in.o: In function qed_unzip_data':drivers/net/ethernet/qlogic/qed/qed_main.c:675: undefined reference to `zlib_inflateInit2'
This changes Kconfig to always select zlib when needed.
---
Found on ARM randconfig builds
drivers/net/ethernet/qlogic/Kconfig +1 -0
@@ -94,6 +94,7 @@ config NETXEN_NIC config QED tristate "QLogic QED 25/40/100Gb core driver" depends on PCI + select ZLIB_INFLATE ---help--- This enables the support for ...
From: Arnd Bergmann <[email protected]>
Date: Tue, 10 Nov 2015 11:28:15 +0100
Quoted 8 lines
The newly added qlogic qed driver uses the zlib library, but misses the dependency:
drivers/built-in.o: In function `qed_alloc_stream_mem':drivers/net/ethernet/qlogic/qed/qed_main.c:707: undefined reference tozlib_inflate_workspacesize' drivers/built-in.o: In functionqed_unzip_data':drivers/net/ethernet/qlogic/qed/qed_main.c:675: undefined reference to `zlib_inflateInit2'
Quoted 6 lines
This changes
Kconfigto always select zlib when needed.Signed-off-by Arnd Bergmann <[email protected]>Fixes fe56b9e6a8d9 ("qed: Add module with basic common support")---
Found on ARM randconfig builds
Applied, thanks.