staging: axis-fifo: Fix indentation
authorUri Arev <me@wantyapps.xyz>
Tue, 5 Mar 2024 21:14:01 +0000 (23:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 15:44:54 +0000 (17:44 +0200)
Warning reported by checkpatch.pl script:

CHECK: Alignment should match open parenthesis

Signed-off-by: Uri Arev <me@wantyapps.xyz>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://lore.kernel.org/r/20240305211416.755911-1-me@wantyapps.xyz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/axis-fifo/axis-fifo.c

index c51818c56dd21741528a428fc7b6ada44ab26bb0..1bbb9a6db5979aff0ed1a17ed2aa955e2bfbf487 100644 (file)
@@ -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) {