Skip to contentSkip to conversation

staging: axis-fifo: Fix alignment in open parentheses

PATCH In review Jeffin Philip 2 participants 2 messages Jul 23 – Jul 28 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: axis-fifo: Fix alignment in open parentheses

Fix checkpatch error:
"Alignment should match open parenthesis" in axis-fifo.c

Thanks,
Jeffin

---
 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..e8facc9b429b 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;
 	}
Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 5 lines · Jeffin Philip

Fix checkpatch error:
"Alignment should match open parenthesis" in axis-fifo.c

Thanks,
Jeffin

No need for this in the middle of a changelog text :)

Quoted 23 lines
---
 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..e8facc9b429b 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;
 	}
Signature · 1 line
2.55.0

This change:

	https://lore.kernel.org/r/[email protected]

does it a bit better, right?

thanks,

greg k-h