public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [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
* [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
@ 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

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