summaryrefslogtreecommitdiff
path: root/drivers/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-10-07 11:00:25 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-11 23:58:10 +0300
commita7b70e2d62d86fcb3f665d325dbc6f0303ee3c51 (patch)
treec982f8d9041fb0cf963b23c50b0fd93a816e3e5b /drivers/net/can
parent54dd0b8904ac4c70df7616d39b80390835fede80 (diff)
downloadlinux-a7b70e2d62d86fcb3f665d325dbc6f0303ee3c51.tar.xz
can: rx-offload: can_rx_offload_compare(): fix typo
This patch fixes a typo found by checkpatch. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/rx-offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/rx-offload.c b/drivers/net/can/rx-offload.c
index 62393b029e4e..c277c5151153 100644
--- a/drivers/net/can/rx-offload.c
+++ b/drivers/net/can/rx-offload.c
@@ -109,7 +109,7 @@ static int can_rx_offload_compare(struct sk_buff *a, struct sk_buff *b)
cb_a = can_rx_offload_get_cb(a);
cb_b = can_rx_offload_get_cb(b);
- /* Substract two u32 and return result as int, to keep
+ /* Subtract two u32 and return result as int, to keep
* difference steady around the u32 overflow.
*/
return cb_b->timestamp - cb_a->timestamp;