eth: octeon: fix build after netif_napi_add() changes
Subsystems (2)
Jakub Kicinski
maintainerPATCH 1/1 eth: octeon: fix build after netif_napi_add() changes
Guenter reports I missed a netif_napi_add() call
in one of the platform-specific drivers:
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c: In function 'octeon_mgmt_probe':drivers/net/ethernet/cavium/octeon/octeon_mgmt.c:1399:9: error: too many arguments to function 'netif_napi_add'
1399 | netif_napi_add(netdev, &p->napi, octeon_mgmt_napi_poll,
| ^~~~~~~~~~~~~~---
CC: [email protected]
CC: [email protected]
--- drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c +2 -2
@@ -1396,8 +1396,8 @@ static int octeon_mgmt_probe(struct platform_device *pdev)platform_set_drvdata (pdev, netdev); p =netdev_priv (netdev); -netif_napi_add (netdev, &p->napi, octeon_mgmt_napi_poll, -OCTEON_MGMT_NAPI_WEIGHT ); +netif_napi_add_weight (netdev, &p->napi, octeon_mgmt_napi_poll, +OCTEON_MGMT_NAPI_WEIGHT ); p->netdev = netdev; p->dev = &pdev->dev;
Signature · 1 line
2.37.3
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Sun, 2 Oct 2022 10:56:50 -0700 you wrote:
Guenter reports I missed a
netif_napi_add()call
in one of the platform-specific drivers:
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c: In function 'octeon_mgmt_probe':drivers/net/ethernet/cavium/octeon/octeon_mgmt.c:1399:9: error: too many arguments to function 'netif_napi_add'1399 | netif_napi_add(netdev, &p->napi, octeon_mgmt_napi_poll, | ^~~~~~~~~~~~~~[...]
Here is the summary with links:
- [net-next] eth: octeon: fix build after netif_napi_add() changes
https://git.kernel.org/netdev/net-next/c/899b8cd0d392
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html