projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96efd6d
)
can: rx-offload: can_rx_offload_init_queue(): fix typo
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Wed, 10 Aug 2022 19:38:00 +0000
(21:38 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Mon, 5 Sep 2022 19:54:49 +0000
(21:54 +0200)
Fix typo "rounted" -> "rounded".
Link:
https://lore.kernel.org/all/20220811093617.1861938-2-mkl@pengutronix.de
Fixes: d254586c3453 ("can: rx-offload: Add support for HW fifo based irq offloading")
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev/rx-offload.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/dev/rx-offload.c
b/drivers/net/can/dev/rx-offload.c
index a32a01c172d4fae7e05c19ea99b9fad4002ef659..ad8eb243fe78017adb98817a7c887336bd0fe950 100644
(file)
--- a/
drivers/net/can/dev/rx-offload.c
+++ b/
drivers/net/can/dev/rx-offload.c
@@
-329,7
+329,7
@@
static int can_rx_offload_init_queue(struct net_device *dev,
{
offload->dev = dev;
- /* Limit queue len to 4x the weight (roun
t
ed to next power of two) */
+ /* Limit queue len to 4x the weight (roun
d
ed to next power of two) */
offload->skb_queue_len_max = 2 << fls(weight);
offload->skb_queue_len_max *= 4;
skb_queue_head_init(&offload->skb_queue);