[PATCH] staging: pi433: pi433_if.c codestyle fix space around kthread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes the following checkpatch.pl errors:

ERROR: space prohibited after that open parenthesis '('
#499: FILE: pi433_if.c:499:
+               if ( kthread_should_stop() )

ERROR: space prohibited before that close parenthesis ')'
#499: FILE: pi433_if.c:499:
+               if ( kthread_should_stop() )


Signed-off-by: Oliver Graute <oliver.graute@xxxxxxxxx>
---
 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 4b8980c..28bb77a 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -496,7 +496,7 @@ static irqreturn_t DIO1_irq_handler(int irq, void *dev_id)
 		wait_event_interruptible(device->tx_wait_queue,
 					 ( !kfifo_is_empty(&device->tx_fifo) ||
 					    kthread_should_stop() ));
-		if ( kthread_should_stop() )
+		if (kthread_should_stop())
 			return 0;
 
 		/* get data from fifo in the following order:
-- 
1.9.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux