[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240329203222.12889-3-shresthprasad7@gmail.com>
Date: Sat, 30 Mar 2024 02:02:24 +0530
From: Shresth Prasad <shresthprasad7@...il.com>
To: gregkh@...uxfoundation.org,
hverkuil-cisco@...all.nl,
christophe.jaillet@...adoo.fr,
prathubaronia2011@...il.com,
luca.ceresoli@...tlin.com,
robh@...nel.org,
u.kleine-koenig@...gutronix.de,
frank.li@...o.com
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
skhan@...uxfoundation.org,
Shresth Prasad <shresthprasad7@...il.com>
Subject: [PATCH] staging: axis-fifo: align arguments to open parenthesis in axis-fifo.c
Align some function arguments to the opening parenthesis of the
function as reported by checkpatch:
CHECK: Alignment should match open parenthesis
Signed-off-by: Shresth Prasad <shresthprasad7@...il.com>
---
drivers/staging/axis-fifo/axis-fifo.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
index c51818c56dd2..a70af76be7fb 100644
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -376,8 +376,8 @@ static ssize_t axis_fifo_read(struct file *f, char __user *buf,
*/
mutex_lock(&fifo->read_lock);
ret = wait_event_interruptible_timeout(fifo->read_queue,
- ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
- read_timeout);
+ ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
+ read_timeout);
if (ret <= 0) {
if (ret == 0) {
@@ -517,9 +517,9 @@ static ssize_t axis_fifo_write(struct file *f, const char __user *buf,
*/
mutex_lock(&fifo->write_lock);
ret = wait_event_interruptible_timeout(fifo->write_queue,
- ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
- >= words_to_write,
- write_timeout);
+ ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
+ >= words_to_write,
+ write_timeout);
if (ret <= 0) {
if (ret == 0) {
--
2.44.0
Powered by blists - more mailing lists