[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56CA20AA.2030401@kernel.org>
Date: Sun, 21 Feb 2016 20:40:10 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Daniel Baluta <daniel.baluta@...el.com>
Cc: knaack.h@....de, lars@...afoo.de, pmeerw@...erw.net,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
wsa@...-dreams.de, linux-i2c@...r.kernel.org,
lucas.demarchi@...el.com, srinivas.pandruvada@...ux.intel.com,
ggao@...ensense.com, adi.reus@...il.com, cmo@...exis.com,
mwelling@...e.org
Subject: Re: [RFC PATCH 6/9] iio: imu: inv_mpu6050: Fix code indent for if
statement
On 18/02/16 15:53, Daniel Baluta wrote:
> This fixes the following checkpatch.pl warning:
>
> WARNING: suspect code indent for conditional statements (8, 24)
> + if (kfifo_len(&st->timestamps) >
> [...]
> + goto flush_fifo;
>
> Signed-off-by: Daniel Baluta <daniel.baluta@...el.com>
Applied.
> ---
> drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
> index 441080b..0bc5091 100644
> --- a/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
> +++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
> @@ -158,8 +158,8 @@ irqreturn_t inv_mpu6050_read_fifo(int irq, void *p)
> goto flush_fifo;
> /* Timestamp mismatch. */
> if (kfifo_len(&st->timestamps) >
> - fifo_count / bytes_per_datum + INV_MPU6050_TIME_STAMP_TOR)
> - goto flush_fifo;
> + fifo_count / bytes_per_datum + INV_MPU6050_TIME_STAMP_TOR)
> + goto flush_fifo;
> while (fifo_count >= bytes_per_datum) {
> result = regmap_bulk_read(st->map, st->reg->fifo_r_w,
> data, bytes_per_datum);
>
Powered by blists - more mailing lists