linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: bcm-kona: fix inconsistent indenting
@ 2016-08-14 22:47 Wolfram Sang
  2016-08-15 14:11 ` Tim Kryger
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2016-08-14 22:47 UTC (permalink / raw)
  To: linux-i2c; +Cc: Ray Jui, Tim Kryger, Wolfram Sang

smatch rightfully says:
drivers/i2c/busses/i2c-bcm-kona.c:646 bcm_kona_i2c_xfer() warn: inconsistent indenting

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---
 drivers/i2c/busses/i2c-bcm-kona.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-bcm-kona.c b/drivers/i2c/busses/i2c-bcm-kona.c
index f98743277e3c74..258cb9a40ab349 100644
--- a/drivers/i2c/busses/i2c-bcm-kona.c
+++ b/drivers/i2c/busses/i2c-bcm-kona.c
@@ -643,7 +643,7 @@ static int bcm_kona_i2c_xfer(struct i2c_adapter *adapter,
 			if (rc < 0) {
 				dev_err(dev->device,
 					"restart cmd failed rc = %d\n", rc);
-					goto xfer_send_stop;
+				goto xfer_send_stop;
 			}
 		}
 
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c: bcm-kona: fix inconsistent indenting
  2016-08-14 22:47 [PATCH] i2c: bcm-kona: fix inconsistent indenting Wolfram Sang
@ 2016-08-15 14:11 ` Tim Kryger
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Kryger @ 2016-08-15 14:11 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-i2c, Ray Jui

On Sun, Aug 14, 2016 at 3:47 PM, Wolfram Sang <wsa@the-dreams.de> wrote:
> smatch rightfully says:
> drivers/i2c/busses/i2c-bcm-kona.c:646 bcm_kona_i2c_xfer() warn: inconsistent indenting
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

Reviewed-by: Tim Kryger <tim.kryger@gmail.com>

> ---
>  drivers/i2c/busses/i2c-bcm-kona.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-bcm-kona.c b/drivers/i2c/busses/i2c-bcm-kona.c
> index f98743277e3c74..258cb9a40ab349 100644
> --- a/drivers/i2c/busses/i2c-bcm-kona.c
> +++ b/drivers/i2c/busses/i2c-bcm-kona.c
> @@ -643,7 +643,7 @@ static int bcm_kona_i2c_xfer(struct i2c_adapter *adapter,
>                         if (rc < 0) {
>                                 dev_err(dev->device,
>                                         "restart cmd failed rc = %d\n", rc);
> -                                       goto xfer_send_stop;
> +                               goto xfer_send_stop;
>                         }
>                 }
>
> --
> 2.8.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-15 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-14 22:47 [PATCH] i2c: bcm-kona: fix inconsistent indenting Wolfram Sang
2016-08-15 14:11 ` Tim Kryger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).