projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8624a95
)
net: ethernet: ti: Fix spelling mistake and clean up message
author
Colin Ian King
<colin.i.king@gmail.com>
Wed, 16 Mar 2022 23:34:55 +0000
(23:34 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 17 Mar 2022 23:35:34 +0000
(16:35 -0700)
There is a spelling mistake in a dev_err message and the MAX_SKB_FRAGS
value does not need to be printed between parentheses. Fix this.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link:
https://lore.kernel.org/r/20220316233455.54541-1-colin.i.king@gmail.com
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
b818e45
..
16507bf
100644
(file)
--- a/
drivers/net/ethernet/ti/netcp_core.c
+++ b/
drivers/net/ethernet/ti/netcp_core.c
@@
-2082,7
+2082,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(%ld)
\n",
+ dev_err(dev, "tx-pool size too small, must be at
least %ld
\n",
MAX_SKB_FRAGS);
ret = -ENODEV;
goto quit;