[PATCH net-next] net: lan966x: Fix builds for lan966x driver

Subsystems: microchip lan966x ethernet driver, networking drivers, the rest

STALE1773d

2 messages, 2 authors, 2021-12-02 · open the first message on its own page

[PATCH net-next] net: lan966x: Fix builds for lan966x driver

From: Horatiu Vultur <horatiu.vultur@microchip.com>
Date: 2021-12-02 08:14:08

The lan966x is using the function 'packing' to create/extract the
information for the IFH, that is used to be added in front of the frames
when they are injected/extracted.
Therefore update the Kconfig to select config option 'PACKING' whenever
lan966x driver is enabled.

Fixes: db8bcaad539314 ("net: lan966x: add the basic lan966x driver")
Reported-by: kernel test robot <redacted>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
---
 drivers/net/ethernet/microchip/lan966x/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/microchip/lan966x/Kconfig b/drivers/net/ethernet/microchip/lan966x/Kconfig
index 83ac4266b417..2860a8c9923d 100644
--- a/drivers/net/ethernet/microchip/lan966x/Kconfig
+++ b/drivers/net/ethernet/microchip/lan966x/Kconfig
@@ -3,5 +3,6 @@ config LAN966X_SWITCH
 	depends on HAS_IOMEM
 	depends on OF
 	select PHYLINK
+	select PACKING
 	help
 	  This driver supports the Lan966x network switch device.
-- 
2.33.0

Re: [PATCH net-next] net: lan966x: Fix builds for lan966x driver

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-02 12:30:23

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Thu, 2 Dec 2021 09:15:11 +0100 you wrote:
The lan966x is using the function 'packing' to create/extract the
information for the IFH, that is used to be added in front of the frames
when they are injected/extracted.
Therefore update the Kconfig to select config option 'PACKING' whenever
lan966x driver is enabled.

Fixes: db8bcaad539314 ("net: lan966x: add the basic lan966x driver")
Reported-by: kernel test robot <redacted>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>

[...]
Here is the summary with links:
  - [net-next] net: lan966x: Fix builds for lan966x driver
    https://git.kernel.org/netdev/net-next/c/cc9cf69eea48

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help