]> git.baikalelectronics.ru Git - kernel.git/commit
eth: octeon: fix build after netif_napi_add() changes
authorJakub Kicinski <kuba@kernel.org>
Sun, 2 Oct 2022 17:56:50 +0000 (10:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Oct 2022 00:03:25 +0000 (17:03 -0700)
commit64e945da72f8804fd76471d2d4a01d0581e7123f
treead0a435cbe5bbbd9d2d436e7a2ece3d68766c32c
parentbfa0aadd868d2b948aad75d1a8070fa47a719428
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,
      |         ^~~~~~~~~~~~~~

Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 22b9cf3afe58 ("net: drop the weight argument from netif_napi_add")
Link: https://lore.kernel.org/r/20221002175650.1491124-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c