diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-03-31 21:16:22 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-31 21:18:02 -0700 |
commit | adef41b03b35839e5677aace628d02597f04a616 (patch) | |
tree | dffe79ce0f7187c20b4d183efff9ca991c3145b5 /drivers/net/ethernet/ti | |
parent | ffa5395a7901e83a68d88207c4592962906641bd (diff) | |
download | linux-adef41b03b35839e5677aace628d02597f04a616.tar.gz linux-adef41b03b35839e5677aace628d02597f04a616.tar.bz2 linux-adef41b03b35839e5677aace628d02597f04a616.zip |
Revert "net: netcp: MAX_SKB_FRAGS is now 'int'"
This reverts commit c5b959eeb7f9e40673b97c08c71cbfff5f5923f2.
Reverted change is required after commit 3948b05950fd ("net: introduce
a config option to tweak MAX_SKB_FRAGS") which does not exist
in this tree, yet. It's only present in -next trees at the time
of writing.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/all/20230331214444.GA1426512@dev-arch.thelio-3990X/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r-- | drivers/net/ethernet/ti/netcp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/netcp_core.c b/drivers/net/ethernet/ti/netcp_core.c index dfdbcdeb991f..1bb596a9d8a2 100644 --- a/drivers/net/ethernet/ti/netcp_core.c +++ b/drivers/net/ethernet/ti/netcp_core.c @@ -2081,7 +2081,7 @@ static int netcp_create_interface(struct netcp_device *netcp_device, netcp->tx_pool_region_id = temp[1]; if (netcp->tx_pool_size < MAX_SKB_FRAGS) { - dev_err(dev, "tx-pool size too small, must be at least %d\n", + dev_err(dev, "tx-pool size too small, must be at least %ld\n", MAX_SKB_FRAGS); ret = -ENODEV; goto quit; |