Skip to contentSkip to conversation

staging: axis-fifo: align arguments to match open parenthesis

PATCH Superseded Ashmit Kumar 2 participants 2 messages Jul 28 – Jul 29 Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: axis-fifo: align arguments to match open parenthesis

Align the arguments of wait_event_interruptible() to match the opening parenthesis to conform to the Linux kernel coding style.

---
 drivers/staging/axis-fifo/axis-fifo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +1 -1
index 3aa2aa870ea..ed09be2fed4 100644
@@ -246,7 +246,7 @@ 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.43.0
#1 lore raw
Quoted 12 lines · Ashmit Kumar

Align the arguments of wait_event_interruptible() to match the opening parenthesis to conform to the Linux kernel coding style.

---
 drivers/staging/axis-fifo/axis-fifo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +0 -0
index 3aa2aa870ea..ed09be2fed4 100644

drivers/staging/axis-fifo/axis-fifo.c static ssize_t axis_fifo_write(struct file *f, const char __user *buf, · line 249

Quoted 5 lines
drivers/staging/axis-fifo/axis-fifo.c +1 -1
@@ -246,7 +246,7 @@ 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);

Search for this function name on lore. The original format is okay.

regards,
dan carpenter