From: Marc Kleine-Budde Date: Wed, 10 Aug 2022 19:38:00 +0000 (+0200) Subject: can: rx-offload: can_rx_offload_init_queue(): fix typo X-Git-Tag: v6.1-rc5~319^2~209^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=766108d91246530d31b42765046f7ec2d1e42581;p=platform%2Fkernel%2Flinux-starfive.git 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: d254586c3453 ("can: rx-offload: Add support for HW fifo based irq offloading") Reported-by: Uwe Kleine-König Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/dev/rx-offload.c b/drivers/net/can/dev/rx-offload.c index a32a01c1..ad8eb24 100644 --- 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 (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);