[PATCH] staging: axis-fifo: align write wait_event args
From: Xinhong Hu
Date: Thu Apr 16 2026 - 07:28:22 EST
The axis_fifo_write() wait_event_interruptible() call used different
continuation indentation than axis_fifo_read(). After matching the read
path, the second line exceeded 100 columns, so split the condition across
two continuation lines.
Reported by checkpatch:
CHECK: Alignment should match open parenthesis
Signed-off-by: Xinhong Hu <tp5092@xxxxxxxxxxx>
---
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 aa90b27197cf..aac2c58ef9b3 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.43.0