staging: axis-fifo: align arguments to match open parenthesis
PATCH 1/1 staging: axis-fifo: align arguments to match open parenthesis
Align the arguments of wait_event_interruptible() to match the opening parenthesis to conform to the Linux kernel coding style.
Signed-off-by Ashmit Kumar <[email protected]>
--- drivers/staging/axis-fifo/axis-fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +1 -1
@@ -246,7 +246,7 @@ static ssize_t axis_fifo_write(struct file *f, const char __user *buf,mutex_lock (&fifo->write_lock); ret =wait_event_interruptible (fifo->write_queue, -ioread32 (fifo->base_addr +XLLF_TDFV_OFFSET ) >= words_to_write); +ioread32 (fifo->base_addr +XLLF_TDFV_OFFSET ) >= words_to_write);if (ret) goto end_unlock; }
Signature · 1 line
2.43.0
Quoted 12 lines · Ashmit Kumar
Align the arguments of
wait_event_interruptible()to match the opening parenthesis to conform to the Linux kernel coding style.Signed-off-by Ashmit Kumar <[email protected]>--- drivers/staging/axis-fifo/axis-fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/axis-fifo/axis-fifo.c +0
-0
drivers/staging/axis-fifo/axis-fifo.c static ssize_t axis_fifo_write(struct file *f, const char __user *buf, · line 249
Quoted 5 lines
drivers/staging/axis-fifo/axis-fifo.c +1
-1@@ -246,7 +246,7 @@ static ssize_t axis_fifo_write(struct file *f, const char __user *buf,mutex_lock (&fifo->write_lock); ret =wait_event_interruptible (fifo->write_queue, -ioread32 (fifo->base_addr +XLLF_TDFV_OFFSET ) >= words_to_write); +ioread32 (fifo->base_addr +XLLF_TDFV_OFFSET ) >= words_to_write);
Search for this function name on lore. The original format is okay.
regards,
dan carpenter