[PATCH] staging: pi433: codestyle space required

Oliver Graute oliver.graute at gmail.com
Tue Dec 5 20:13:50 UTC 2017


This patch fixes the following checkpatch.pl error:

ERROR: spaces required around that '+=' (ctx:WxV) +
                           position +=temp;
       ^

Signed-off-by: Oliver Graute <oliver.graute at gmail.com>
---
 drivers/staging/pi433/pi433_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index 17be4b6..198f448 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -614,7 +614,7 @@ static irqreturn_t DIO1_irq_handler(int irq, void *dev_id)
 				rf69_write_fifo(spi,
 				                &buffer[position],
 				                temp);
-				position +=temp;
+				position += temp;
 			}
 			else
 			{	/* msg fits into fifo - take all */
-- 
1.9.1



More information about the devel mailing list