Re: [PATCH] staging: axis-fifo: fix wait_event_interruptable() continuation alignment

From: Greg KH

Date: Tue Jul 07 2026 - 06:05:38 EST


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 <anant.kavuru@xxxxxxxxx>

Real name please.

But:

> ---
> drivers/staging/axis-fifo/axis-fifo.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
> index 3aa2aa870ea9..7b96be052c55 100644
> --- a/drivers/staging/axis-fifo/axis-fifo.c
> +++ b/drivers/staging/axis-fifo/axis-fifo.c
> @@ -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