diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-08-10 21:38:00 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-09-05 21:54:49 +0200 |
commit | 766108d91246530d31b42765046f7ec2d1e42581 (patch) | |
tree | 816b3485d022313c33dc4dffac5e083b287bf087 /drivers/net/can/dev/rx-offload.c | |
parent | r8169: remove not needed net_ratelimit() check (diff) | |
download | linux-766108d91246530d31b42765046f7ec2d1e42581.tar.xz linux-766108d91246530d31b42765046f7ec2d1e42581.zip |
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/dev/rx-offload.c')
-rw-r--r-- | drivers/net/can/dev/rx-offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/dev/rx-offload.c b/drivers/net/can/dev/rx-offload.c index a32a01c172d4..ad8eb243fe78 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); |