lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150809152944.GB2367@katana>
Date:	Sun, 9 Aug 2015 17:29:45 +0200
From:	Wolfram Sang <wsa@...-dreams.de>
To:	Colin King <colin.king@...onical.com>
Cc:	linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: viperboard: clean up inconsistent indenting

On Fri, Jul 17, 2015 at 01:01:23PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
> 
> Minor clean up of indenting, no functional change
> 
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---

Applied to for-next, thanks!

>  drivers/i2c/busses/i2c-viperboard.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c
> index 47e88ad..30cce15 100644
> --- a/drivers/i2c/busses/i2c-viperboard.c
> +++ b/drivers/i2c/busses/i2c-viperboard.c
> @@ -391,11 +391,12 @@ static int vprbrd_i2c_probe(struct platform_device *pdev)
>  			VPRBRD_USB_REQUEST_I2C_FREQ, VPRBRD_USB_TYPE_OUT,
>  			0x0000, 0x0000, &vb_i2c->bus_freq_param, 1,
>  			VPRBRD_USB_TIMEOUT_MS);
> -	    if (ret != 1) {
> -		dev_err(&pdev->dev,
> -			"failure setting i2c_bus_freq to %d\n", i2c_bus_freq);
> -		return -EIO;
> -	    }
> +		if (ret != 1) {
> +			dev_err(&pdev->dev,
> +				"failure setting i2c_bus_freq to %d\n",

Squashed those two lines into one, though.

> +				i2c_bus_freq);
> +			return -EIO;
> +		}
>  	} else {
>  		dev_err(&pdev->dev,
>  			"invalid i2c_bus_freq setting:%d\n", i2c_bus_freq);
> -- 
> 2.1.4
> 

Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ