2022-03-21 22:18:08

by Ryan England

[permalink] [raw]
Subject: [PATCH 2/2] staging: axis-fifo: Fixed parenthesis styling issues

Fixed open parenthesis alignment issues.

Signed-off-by: Ryan C. England <[email protected]>
---
drivers/staging/axis-fifo/axis-fifo.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
index dfd2b357f484..4720d6f877bc 100644
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -383,10 +383,10 @@ 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 >= 0) ?
- msecs_to_jiffies(read_timeout) :
- MAX_SCHEDULE_TIMEOUT);
+ ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
+ (read_timeout >= 0) ?
+ msecs_to_jiffies(read_timeout) :
+ MAX_SCHEDULE_TIMEOUT);

if (ret <= 0) {
if (ret == 0) {
@@ -526,11 +526,11 @@ 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 >= 0) ?
- msecs_to_jiffies(write_timeout) :
- MAX_SCHEDULE_TIMEOUT);
+ ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
+ >= words_to_write,
+ (write_timeout >= 0) ?
+ msecs_to_jiffies(write_timeout) :
+ MAX_SCHEDULE_TIMEOUT);

if (ret <= 0) {
if (ret == 0) {
--
2.27.0


2022-03-21 22:37:02

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 2/2] staging: axis-fifo: Fixed parenthesis styling issues

On Sun, Mar 20, 2022 at 04:23:40AM +0000, Ryan C. England wrote:
> Fixed open parenthesis alignment issues.
>
> Signed-off-by: Ryan C. England <[email protected]>
> ---
> drivers/staging/axis-fifo/axis-fifo.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)

Where is patch 1/2 in this series?