drivers/staging/axis-fifo: fix formatting issue
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);
Signed-off-by Arihan Bhor <[email protected]>
--- drivers/staging/axis-fifo/axis-fifo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/axis-fifo/axis-fifo.c +2 -1
@@ -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
Greg KH
maintainerQuoted 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);Signed-off-by Arihan Bhor <[email protected]>--- drivers/staging/axis-fifo/axis-fifo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/staging/axis-fifo/axis-fifo.c +2
-1@@ -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:
26260251022fbc2f248a3d747a9b2b961b18d2d8Signature · 1 line
2.55.0
Does not apply to the staging-testing branch. Can you please rebase and resend?
thanks,
greg k-h