kernel: bump 5.4 to 5.4.111
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 802-can-0003-can-rx-offload-can_rx_offload_compare-fix-typo.patch
1 From e1a24fd01ca938096aebe397a547aa2409368ab5 Mon Sep 17 00:00:00 2001
2 From: Marc Kleine-Budde <mkl@pengutronix.de>
3 Date: Mon, 7 Oct 2019 10:00:25 +0200
4 Subject: [PATCH] can: rx-offload: can_rx_offload_compare(): fix typo
5
6 This patch fixes a typo found by checkpatch.
7
8 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
9 ---
10 drivers/net/can/rx-offload.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/drivers/net/can/dev/rx-offload.c
14 +++ b/drivers/net/can/dev/rx-offload.c
15 @@ -109,7 +109,7 @@ static int can_rx_offload_compare(struct
16 cb_a = can_rx_offload_get_cb(a);
17 cb_b = can_rx_offload_get_cb(b);
18
19 - /* Substract two u32 and return result as int, to keep
20 + /* Subtract two u32 and return result as int, to keep
21 * difference steady around the u32 overflow.
22 */
23 return cb_b->timestamp - cb_a->timestamp;