diff mbox series

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

Message ID 20211202081511.409564-1-horatiu.vultur@microchip.com (mailing list archive)
State Accepted
Commit cc9cf69eea4847c8d6db6114b0e094fb51736c33
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: lan966x: Fix builds for lan966x driver | expand

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 6 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Horatiu Vultur Dec. 2, 2021, 8:15 a.m. UTC
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 <lkp@intel.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
---
 drivers/net/ethernet/microchip/lan966x/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 2, 2021, 12:30 p.m. UTC | #1
Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

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 <lkp@intel.com>
> 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!
diff mbox series

Patch

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.