projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa5395
)
Revert "net: netcp: MAX_SKB_FRAGS is now 'int'"
author
Jakub Kicinski
<kuba@kernel.org>
Sat, 1 Apr 2023 04:16:22 +0000
(21:16 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Sat, 1 Apr 2023 04:18:02 +0000
(21:18 -0700)
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>
drivers/net/ethernet/ti/netcp_core.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/netcp_core.c
b/drivers/net/ethernet/ti/netcp_core.c
index dfdbcdeb991fd46b1d35389920a1d89e9cea83ef..1bb596a9d8a2b633372dec1d984ce970063a3ddc 100644
(file)
--- 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 %
l
d\n",
MAX_SKB_FRAGS);
ret = -ENODEV;
goto quit;