[PATCH v2] staging: axis-fifo: Fix alignment of wait_event_interruptible in write path
From: Pramod Maurya
Date: Sun May 10 2026 - 13:07:45 EST
Commit 87d653a894a4 ("staging: axis-fifo: Remove read/write timeout
module parameters") converted wait_event_interruptible_timeout() to
wait_event_interruptible() in both the read and write paths, but used
a single tab to indent the condition argument instead of aligning it
to the opening parenthesis.
Commit 72000df579c7 ("staging: axis-fifo: Fix indentation") corrected
the read path in axis_fifo_read(), but the write path in
axis_fifo_write() was left with the same misalignment:
ret = wait_event_interruptible(fifo->write_queue,
ioread32(fifo->base_addr + XLLF_TDFV_OFFSET) >= words_to_write);
Fix this remaining instance by aligning the condition argument and its
continuation to the opening parenthesis.
Fixes: 87d653a894a4 ("staging: axis-fifo: Remove read/write timeout module parameters")
Signed-off-by: Pramod Maurya <pramod.nexgen@xxxxxxxxx>
---
drivers/staging/axis-fifo/axis-fifo.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
index 3aa2aa870ea9..1c34de020cf8 100644
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -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;
}
--
2.52.0