This patch fixes this codestyle issues:

ERROR: space prohibited after that open parenthesis '('
+       if ( retval != sizeof(instance->tx_cfg) )

ERROR: space prohibited before that close parenthesis ')'
+       if ( retval != sizeof(instance->tx_cfg) )

Signed-off-by: Oliver Graute <oliver.gra...@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 3e79ebf..ae49212 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -768,7 +768,7 @@ static irqreturn_t DIO1_irq_handler(int irq, void *dev_id)
                goto abort;
 
        retval = kfifo_in (&device->tx_fifo, &count, sizeof(size_t));
-       if ( retval != sizeof(size_t) )
+       if (retval != sizeof(size_t))
                goto abort;
 
        retval = kfifo_from_user(&device->tx_fifo, buf, count, &copied);
-- 
1.9.1

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

Reply via email to