Skip to content

Commit adef41b

Browse files
committed
Revert "net: netcp: MAX_SKB_FRAGS is now 'int'"
This reverts commit c5b959e. Reverted change is required after commit 3948b05 ("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 <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Jakub Kicinski <[email protected]>
1 parent ffa5395 commit adef41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/ti/netcp_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@ static int netcp_create_interface(struct netcp_device *netcp_device,
20812081
netcp->tx_pool_region_id = temp[1];
20822082

20832083
if (netcp->tx_pool_size < MAX_SKB_FRAGS) {
2084-
dev_err(dev, "tx-pool size too small, must be at least %d\n",
2084+
dev_err(dev, "tx-pool size too small, must be at least %ld\n",
20852085
MAX_SKB_FRAGS);
20862086
ret = -ENODEV;
20872087
goto quit;

0 commit comments

Comments
 (0)