Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1653022 > unrolled thread

[PATCH net-next] net/mlxfw: select CONFIG_XZ_DEC

Started byArnd Bergmann <arnd@arndb.de>
First post2017-05-30 11:30 +0200
Last post2017-05-31 19:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH net-next] net/mlxfw: select CONFIG_XZ_DEC Arnd Bergmann <arnd@arndb.de> - 2017-05-30 11:30 +0200
    Re: [PATCH net-next] net/mlxfw: select CONFIG_XZ_DEC David Miller <davem@davemloft.net> - 2017-05-31 19:00 +0200

#1653022 — [PATCH net-next] net/mlxfw: select CONFIG_XZ_DEC

FromArnd Bergmann <arnd@arndb.de>
Date2017-05-30 11:30 +0200
Subject[PATCH net-next] net/mlxfw: select CONFIG_XZ_DEC
Message-ID<tMLDs-5ux-17@gated-at.bofh.it>
The new mlxfw code fails to build without the xz library:

drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.o: In function `mlxfw_mfa2_xz_dec_run':
:(.text.mlxfw_mfa2_xz_dec_run+0x8): undefined reference to `xz_dec_run'
drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.o: In function `mlxfw_mfa2_file_component_get':
:(.text.mlxfw_mfa2_file_component_get+0x218): undefined reference to `xz_dec_init'
:(.text.mlxfw_mfa2_file_component_get+0x2c0): undefined reference to `xz_dec_end'

This adds a Kconfig 'select' statement for it, which is also what
the other user of that library has.

Fixes: 410ed13cae39 ("Add the mlxfw module for Mellanox firmware flash process")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/net/ethernet/mellanox/mlxfw/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/mellanox/mlxfw/Kconfig b/drivers/net/ethernet/mellanox/mlxfw/Kconfig
index 56b60ac7bc34..2b21af8a2b1d 100644
--- a/drivers/net/ethernet/mellanox/mlxfw/Kconfig
+++ b/drivers/net/ethernet/mellanox/mlxfw/Kconfig
@@ -4,3 +4,4 @@
 
 config MLXFW
         tristate "mlxfw" if COMPILE_TEST
+	select XZ_DEC
-- 
2.9.0

[toc] | [next] | [standalone]


#1654454

FromDavid Miller <davem@davemloft.net>
Date2017-05-31 19:00 +0200
Message-ID<tNf8u-7mc-3@gated-at.bofh.it>
In reply to#1653022
From: Arnd Bergmann <arnd@arndb.de>
Date: Tue, 30 May 2017 11:26:14 +0200

> The new mlxfw code fails to build without the xz library:
> 
> drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.o: In function `mlxfw_mfa2_xz_dec_run':
> :(.text.mlxfw_mfa2_xz_dec_run+0x8): undefined reference to `xz_dec_run'
> drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.o: In function `mlxfw_mfa2_file_component_get':
> :(.text.mlxfw_mfa2_file_component_get+0x218): undefined reference to `xz_dec_init'
> :(.text.mlxfw_mfa2_file_component_get+0x2c0): undefined reference to `xz_dec_end'
> 
> This adds a Kconfig 'select' statement for it, which is also what
> the other user of that library has.
> 
> Fixes: 410ed13cae39 ("Add the mlxfw module for Mellanox firmware flash process")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied, thanks Arnd.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web