staging: axis-fifo: Fix alignment in open parentheses
PATCH 1/1 staging: axis-fifo: Fix alignment in open parentheses
Fix checkpatch error:
"Alignment should match open parenthesis" in axis-fifo.c
Thanks,
Jeffin
Signed-off-by Jeffin Philip <[email protected]>
--- drivers/staging/axis-fifo/axis-fifo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +2 -1
@@ -246,7 +246,8 @@ 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.55.0
Greg KH
maintainerQuoted 5 lines · Jeffin Philip
Fix checkpatch error:
"Alignment should match open parenthesis" inaxis-fifo.cThanks,
Jeffin
No need for this in the middle of a changelog text :)
Quoted 23 lines
Signed-off-by Jeffin Philip <[email protected]>--- drivers/staging/axis-fifo/axis-fifo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/staging/axis-fifo/axis-fifo.c +2
-1@@ -246,7 +246,8 @@ 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.55.0
This change:
https://lore.kernel.org/r/[email protected]
does it a bit better, right?
thanks,
greg k-h