From: Eisha Chen-yen-su Date: Tue, 20 Feb 2018 00:47:26 +0000 (+0100) Subject: staging: pi433: Split subtraction across 2 lines X-Git-Tag: v5.15~9122^2~391 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1345b2f21e6f827a6445a3ea873336e540458cd;p=platform%2Fkernel%2Flinux-starfive.git staging: pi433: Split subtraction across 2 lines Split a subtraction across 2 lines in order to make these lines no longer than 80 columns. Problem found with checkpatch. Signed-off-by: Eisha Chen-yen-su Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 4a8e633a0a1d..e8ddc924bb04 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -528,7 +528,8 @@ pi433_receive(void *data) /* need to drop bytes or acquire? */ if (dev->rx_bytes_to_drop > dev->rx_bytes_dropped) - bytes_to_read = dev->rx_bytes_to_drop - dev->rx_bytes_dropped; + bytes_to_read = dev->rx_bytes_to_drop - + dev->rx_bytes_dropped; else bytes_to_read = bytes_total - dev->rx_position;