public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] staging: axis-fifo: Fix indentation
@ 2024-03-05 21:14 me
  2024-03-31 19:05 ` Uri Arev
  2024-04-01 12:26 ` Bagas Sanjaya
  0 siblings, 2 replies; 7+ messages in thread
From: me @ 2024-03-05 21:14 UTC (permalink / raw)
  Cc: me, Greg Kroah-Hartman, Prathu Baronia, Rob Herring, Yangtao Li,
	Fabio M. De Francesco, Uwe Kleine-König, Khadija Kamran,
	linux-staging, linux-kernel

From: Uri Arev <me@wantyapps.xyz>

Warning reported by checkpatch.pl script:

CHECK: Alignment should match open parenthesis

Signed-off-by: Uri Arev <me@wantyapps.xyz>
---
 drivers/staging/axis-fifo/axis-fifo.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
index 727b956aa231..ab758a527261 100644
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -381,8 +381,8 @@ static ssize_t axis_fifo_read(struct file *f, char __user *buf,
 		 */
 		mutex_lock(&fifo->read_lock);
 		ret = wait_event_interruptible_timeout(fifo->read_queue,
-			ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
-			read_timeout);
+						       ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
+						       read_timeout);
 
 		if (ret <= 0) {
 			if (ret == 0) {
@@ -522,9 +522,9 @@ static ssize_t axis_fifo_write(struct file *f, const char __user *buf,
 		 */
 		mutex_lock(&fifo->write_lock);
 		ret = wait_event_interruptible_timeout(fifo->write_queue,
-			ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
-				 >= words_to_write,
-			write_timeout);
+						       ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
+								>= words_to_write,
+						       write_timeout);
 
 		if (ret <= 0) {
 			if (ret == 0) {
-- 
2.42.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] staging: axis-fifo: Fix indentation
  2024-03-05 21:14 me
@ 2024-03-31 19:05 ` Uri Arev
  2024-04-01 12:26 ` Bagas Sanjaya
  1 sibling, 0 replies; 7+ messages in thread
From: Uri Arev @ 2024-03-31 19:05 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Prathu Baronia, Rob Herring, Yangtao Li,
	Fabio M. De Francesco, Uwe Kleine-König, Khadija Kamran,
	linux-staging, linux-kernel

Hey, just pinging to check if you saw my patch.

                 Uri Arev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] staging: axis-fifo: Fix indentation
  2024-03-05 21:14 me
  2024-03-31 19:05 ` Uri Arev
@ 2024-04-01 12:26 ` Bagas Sanjaya
  2024-04-01 15:36   ` Uri Arev
  1 sibling, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2024-04-01 12:26 UTC (permalink / raw)
  To: me
  Cc: Greg Kroah-Hartman, Prathu Baronia, Rob Herring, Yangtao Li,
	Fabio M. De Francesco, Uwe Kleine-König, Khadija Kamran,
	linux-staging, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]

On Tue, Mar 05, 2024 at 11:14:01PM +0200, me@wantyapps.xyz wrote:
> From: Uri Arev <me@wantyapps.xyz>
> 
> Warning reported by checkpatch.pl script:
> 
> CHECK: Alignment should match open parenthesis
> 
> Signed-off-by: Uri Arev <me@wantyapps.xyz>
> ---
>  drivers/staging/axis-fifo/axis-fifo.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
> index 727b956aa231..ab758a527261 100644
> --- a/drivers/staging/axis-fifo/axis-fifo.c
> +++ b/drivers/staging/axis-fifo/axis-fifo.c
> @@ -381,8 +381,8 @@ static ssize_t axis_fifo_read(struct file *f, char __user *buf,
>  		 */
>  		mutex_lock(&fifo->read_lock);
>  		ret = wait_event_interruptible_timeout(fifo->read_queue,
> -			ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
> -			read_timeout);
> +						       ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
> +						       read_timeout);
>  
>  		if (ret <= 0) {
>  			if (ret == 0) {
> @@ -522,9 +522,9 @@ static ssize_t axis_fifo_write(struct file *f, const char __user *buf,
>  		 */
>  		mutex_lock(&fifo->write_lock);
>  		ret = wait_event_interruptible_timeout(fifo->write_queue,
> -			ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
> -				 >= words_to_write,
> -			write_timeout);
> +						       ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
> +								>= words_to_write,
> +						       write_timeout);
>  
>  		if (ret <= 0) {
>  			if (ret == 0) {

LGTM, thanks!

Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] staging: axis-fifo: Fix indentation
  2024-04-01 12:26 ` Bagas Sanjaya
@ 2024-04-01 15:36   ` Uri Arev
  0 siblings, 0 replies; 7+ messages in thread
From: Uri Arev @ 2024-04-01 15:36 UTC (permalink / raw)
  To: Bagas Sanjaya
  Cc: Greg Kroah-Hartman, Prathu Baronia, Rob Herring, Yangtao Li,
	Fabio M. De Francesco, Uwe Kleine-König, Khadija Kamran,
	linux-staging, linux-kernel

On Mon, Apr 01, 2024 at 07:26:26PM +0700, Bagas Sanjaya wrote:
> LGTM, thanks!
> 
> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Thank you so much for the review! Have a great day

                 Uri Arev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] staging: axis-fifo: Fix indentation
@ 2026-01-23 20:59 Geet Singhi
  0 siblings, 0 replies; 7+ messages in thread
From: Geet Singhi @ 2026-01-23 20:59 UTC (permalink / raw)
  To: gregkh
  Cc: linux-staging, ovidiu.panait.oss, gshahrouzi, linux-kernel,
	singhigeet1729

Check reported by checkpatch.pl

CHECK: Alignment should match open parenthesis

Signed-off-by: Geet Singhi <singhigeet1729@gmail.com>
---
 drivers/staging/axis-fifo/axis-fifo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
index 63221dfa5698..aa90b27197cf 100644
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -141,7 +141,7 @@ static ssize_t axis_fifo_read(struct file *f, char __user *buf,
 		mutex_lock(&fifo->read_lock);
 
 		ret = wait_event_interruptible(fifo->read_queue,
-				ioread32(fifo->base_addr + XLLF_RDFO_OFFSET));
+					       ioread32(fifo->base_addr + XLLF_RDFO_OFFSET));
 		if (ret)
 			goto end_unlock;
 	}
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH] staging: axis-fifo: fix indentation
@ 2026-03-12  9:37 Zile Xiong
  2026-03-12  9:58 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Zile Xiong @ 2026-03-12  9:37 UTC (permalink / raw)
  To: gregkh
  Cc: ovidiu.panait.oss, gshahrouzi, linux-staging, linux-kernel,
	Zile Xiong

Fix indentation to satisfy checkpatch.pl:

CHECK: Alignment should match open parenthesis

No functional change intended.

Signed-off-by: Zile Xiong <xiongzile99@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 aa90b27197cf..c64a7249feca 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.20.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] staging: axis-fifo: fix indentation
  2026-03-12  9:37 [PATCH] staging: axis-fifo: fix indentation Zile Xiong
@ 2026-03-12  9:58 ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2026-03-12  9:58 UTC (permalink / raw)
  To: Zile Xiong; +Cc: ovidiu.panait.oss, gshahrouzi, linux-staging, linux-kernel

On Thu, Mar 12, 2026 at 05:37:21PM +0800, Zile Xiong wrote:
> Fix indentation to satisfy checkpatch.pl:
> 
> CHECK: Alignment should match open parenthesis
> 
> No functional change intended.
> 
> Signed-off-by: Zile Xiong <xiongzile99@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 aa90b27197cf..c64a7249feca 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.20.1
> 
> 

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- You sent a patch that has been sent multiple times in the past few
  days, and is identical to ones that has been recently rejected.
  Please always look at the mailing list traffic to determine if you are
  duplicating other people's work.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-03-12  9:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-12  9:37 [PATCH] staging: axis-fifo: fix indentation Zile Xiong
2026-03-12  9:58 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2026-01-23 20:59 [PATCH] staging: axis-fifo: Fix indentation Geet Singhi
2024-03-05 21:14 me
2024-03-31 19:05 ` Uri Arev
2024-04-01 12:26 ` Bagas Sanjaya
2024-04-01 15:36   ` Uri Arev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox