summaryrefslogtreecommitdiffstats
path: root/drivers/staging/axis-fifo
diff options
context:
space:
mode:
authorUri Arev <me@wantyapps.xyz>2024-03-05 23:14:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-09 17:44:54 +0200
commit9643ce5e28a7649e0359aaefd08fb84390c8db23 (patch)
treee7b1b8bb1ae60dfa67321fc6f5380a5f8fe22c44 /drivers/staging/axis-fifo
parenta103e5ad21992384b0b4332df52e0467107eb113 (diff)
downloadlinux-stable-9643ce5e28a7649e0359aaefd08fb84390c8db23.tar.gz
linux-stable-9643ce5e28a7649e0359aaefd08fb84390c8db23.tar.bz2
linux-stable-9643ce5e28a7649e0359aaefd08fb84390c8db23.zip
staging: axis-fifo: Fix indentation
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>
Diffstat (limited to 'drivers/staging/axis-fifo')
-rw-r--r--drivers/staging/axis-fifo/axis-fifo.c10
1 files 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..1bbb9a6db597 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) {