Skip to content

Commit

Permalink
staging: pi433: pi433_if.c codestyle fix in IRQ_handler
Browse files Browse the repository at this point in the history
This patch fixes the following checkpatch.pl errors:

ERROR: that open brace { should be on the previous line
torvalds#344: FILE: pi433_if.c:344:
+       if(retval) /* wait was interrupted */
+       {

ERROR: space required before the open parenthesis '('
torvalds#344: FILE: pi433_if.c:344:
+       if(retval) /* wait was interrupted */

Signed-off-by: Oliver Graute <[email protected]>
  • Loading branch information
redbrain17 authored and 0day robot committed Dec 7, 2017
1 parent 54fc95a commit dabff61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/pi433/pi433_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,7 @@ pi433_receive(void *data)
/* wait for any tx to finish */
dev_dbg(dev->dev,"rx: going to wait for any tx to finish");
retval = wait_event_interruptible(dev->rx_wait_queue, !dev->tx_active);
if(retval) /* wait was interrupted */
{
if (retval) {
dev->interrupt_rx_allowed = true;
wake_up_interruptible(&dev->tx_wait_queue);
return retval;
Expand Down

0 comments on commit dabff61

Please sign in to comment.