mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
can: rx-offload: can_rx_offload_init_queue(): fix typo
Fix typo "rounted" -> "rounded".
Link: https://lore.kernel.org/all/20220811093617.1861938-2-mkl@pengutronix.de
Fixes: d254586c34
("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>
This commit is contained in:
parent
96efd6d014
commit
766108d912
1 changed files with 1 additions and 1 deletions
|
@ -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 (rounted to next power of two) */
|
||||
/* Limit queue len to 4x the weight (rounded 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);
|
||||
|
|
Loading…
Reference in a new issue