mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 06:53:04 +00:00
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>
This commit is contained in:
parent
a103e5ad21
commit
9643ce5e28
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user