diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-08-10 22:38:00 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-09-05 22:54:49 +0300 |
commit | 766108d91246530d31b42765046f7ec2d1e42581 (patch) | |
tree | 816b3485d022313c33dc4dffac5e083b287bf087 /drivers | |
parent | 96efd6d01461be234bfc4ca1048a3d5febf0c425 (diff) | |
download | linux-766108d91246530d31b42765046f7ec2d1e42581.tar.xz |
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')
-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); |