Skip to contentSkip to conversation

drivers/staging/axis-fifo: fix formatting issue

PATCH In review Arihan Bhor 2 participants 2 messages Aug 22 – Sep 1 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/staging/axis-fifo: fix formatting issue

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);
---
 drivers/staging/axis-fifo/axis-fifo.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +2 -1
index 3aa2aa870ea9..13a4f329a2e3 100644
@@ -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

Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 28 lines · Arihan Bhor

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);
---
 drivers/staging/axis-fifo/axis-fifo.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +2 -1
index 3aa2aa870ea9..13a4f329a2e3 100644
@@ -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;
 	}
Quoted 5 lines

base-commit: 26260251022fbc2f248a3d747a9b2b961b18d2d8

Signature · 1 line
2.55.0

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

thanks,

greg k-h