Skip to contentSkip to conversation

staging: axis-fifo: align continuation lines with opening parenthesis

PATCH In review Amina Shamraze 2 participants 2 messages Jul 21 – Jul 28 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: axis-fifo: align continuation lines with opening parenthesis

Fix checkpatch.pl warning regarding line alignment. Align continuation lines with the opening parenthesis for better readability.

---
 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;
 	}
Signature · 1 line
2.39.2 (Apple Git-143)
maintainer
#1 lore raw
Quoted 26 lines · Amina Shamraze

Fix checkpatch.pl warning regarding line alignment. Align continuation lines with the opening parenthesis for better readability.

---
 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;
 	}
Signature · 1 line
2.39.2 (Apple Git-143)

Does not apply to the latest tree :(