[PATCH] drivers/staging/axis-fifo: fix formatting issue

Arihan Bhor posted 1 patch 1 month, 1 week ago
drivers/staging/axis-fifo/axis-fifo.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] drivers/staging/axis-fifo: fix formatting issue
Posted by Arihan Bhor 1 month, 1 week ago
The issue as reported by checkpatch -

	CHECK: Alignment should match open parenthesis

	#249: FILE: drivers/staging/axis-fifo/axis-fifo.c:249:
	+		ret = wait_event_interruptible(fifo->write_queue,
	+			ioread32(fifo->base_addr + XLLF_TDFV_OFFSET) >= words_to_write);

Signed-off-by: Arihan Bhor <dogestad24@gmail.com>
---
 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..13a4f329a2e3 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;
 	}

base-commit: 26260251022fbc2f248a3d747a9b2b961b18d2d8
-- 
2.55.0
Re: [PATCH] drivers/staging/axis-fifo: fix formatting issue
Posted by Greg KH 3 weeks, 6 days ago
On Sat, Aug 22, 2026 at 12:16:27PM +0530, Arihan Bhor wrote:
> The issue as reported by checkpatch -
> 
> 	CHECK: Alignment should match open parenthesis
> 
> 	#249: FILE: drivers/staging/axis-fifo/axis-fifo.c:249:
> 	+		ret = wait_event_interruptible(fifo->write_queue,
> 	+			ioread32(fifo->base_addr + XLLF_TDFV_OFFSET) >= words_to_write);
> 
> Signed-off-by: Arihan Bhor <dogestad24@gmail.com>
> ---
>  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..13a4f329a2e3 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;
>  	}
> 
> base-commit: 26260251022fbc2f248a3d747a9b2b961b18d2d8
> -- 
> 2.55.0
> 
> 

Does not apply to the staging-testing branch.  Can you please rebase and
resend?

thanks,

greg k-h