Re: [PATCH] staging: pi433: pi433_if.c codestyle fix in IRQ_handler

2017-12-01 Thread Dan Carpenter
On Thu, Nov 30, 2017 at 06:59:11PM +0100, Oliver Graute wrote: > This patch fixes the following checkpatch.pl errors: > > ERROR: that open brace { should be on the previous line > #344: FILE: pi433_if.c:344: > + if(retval) /* wait was interrupted */ > + { > > ERROR: space required

[PATCH] staging: pi433: pi433_if.c codestyle fix in IRQ_handler

2017-11-30 Thread Oliver Graute
This patch fixes the following checkpatch.pl errors: ERROR: that open brace { should be on the previous line #344: FILE: pi433_if.c:344: + if(retval) /* wait was interrupted */ + { ERROR: space required before the open parenthesis '(' #344: FILE: pi433_if.c:344: + if(retval) /*

[PATCH] staging: pi433: pi433_if.c codestyle fix missing blank

2017-11-30 Thread Oliver Graute
This patch fixes the following checkpatch.pl error: ERROR: space required after that ',' (ctx:VxV) #342: FILE: pi433_if.c:342: + dev_dbg(dev->dev,"rx: going to wait for any tx to finish"); Signed-off-by: Oliver Graute --- drivers/staging/pi433/pi433_if.c | 2 +-

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

2017-11-29 Thread Oliver Graute
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 (

[PATCH] staging: pi433: pi433_if.c codestyle fix

2017-11-26 Thread Oliver Graute
This patch fixes the following checkpatch.pl error: ERROR: spaces required around that '>=' (ctx:VxV) #930: FILE: pi433_if.c:930: + for (i--; i>=0; i--) ERROR: spaces required around that '=' (ctx:VxV) #970: FILE: pi433_if.c:970: + for (i=0; i