Skip to contentSkip to conversation

net: mscc: ocelot: select PACKING in the Kconfig

PATCH Applied Vladimir Oltean 2 participants 2 messages Feb 17, 2021

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

PATCH 1/1 net: mscc: ocelot: select PACKING in the Kconfig

From: Vladimir Oltean <[email protected]>

Ocelot now uses include/linux/dsa/ocelot.h which makes use of CONFIG_PACKING to pack/unpack bits into the Injection/Extraction Frame Headers. So it needs to explicitly select it, otherwise there might be build errors due to the missing dependency.

Fixes 40d3f295b5fe ("net: mscc: ocelot: use common tag parsing code with DSA")
---
 drivers/net/ethernet/mscc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/mscc/Kconfig +1 -0
index ee7bb7e24e8e..c0ede0ca7115 100644
@@ -14,6 +14,7 @@ if NET_VENDOR_MICROSEMI
 # Users should depend on NET_SWITCHDEV, HAS_IOMEM
 config MSCC_OCELOT_SWITCH_LIB
 	select REGMAP_MMIO
+	select PACKING
 	select PHYLIB
 	tristate
 	help
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

Quoted 8 lines · On Wed, 17 Feb 2021 22:33:48 +0200 you wrote:

From: Vladimir Oltean <[email protected]>

Ocelot now uses include/linux/dsa/ocelot.h which makes use of CONFIG_PACKING to pack/unpack bits into the Injection/Extraction Frame Headers. So it needs to explicitly select it, otherwise there might be build errors due to the missing dependency.

[...]

Here is the summary with links:
- [net-next] net: mscc: ocelot: select PACKING in the Kconfig

    https://git.kernel.org/netdev/net-next/c/597565556581

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