staging: axis-fifo: fix wait_event_interruptable() continuation alignment
PATCH 1/1 staging: axis-fifo: fix wait_event_interruptable() continuation alignment
Fixed the continuation indentation in axis-fifo_write() so the code matches the kernel style and passes the checks by scripts/checkpatch.pl.
Signed-off-by Condition00 <[email protected]>
--- drivers/staging/axis-fifo/axis-fifo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +3 -1
@@ -246,7 +246,9 @@ 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.54.0
Greg KH
maintainerQuoted 4 lines · On Mon, May 25, 2026 at 05:31:16PM +0530, Condition00 wrote:
Fixed the continuation indentation in axis-fifo_write() so the code matches the kernel style and passes the checks by
scripts/checkpatch.pl.Signed-off-by Condition00 <[email protected]>
Real name please.
But:
Quoted 9 lines
--- drivers/staging/axis-fifo/axis-fifo.c | 4 +++- 1 file changed, 3 insertions(+), 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 251
Quoted 7 lines
drivers/staging/axis-fifo/axis-fifo.c +3
-1@@ -246,7 +246,9 @@ 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);
Isn't this now harder to understand?
thanks,
greg k-h