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  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]
Date:	Thu, 10 Jul 2014 09:38:29 -0700
From:	Olof Johansson <olof@...om.net>
To:	Robin Schroer <sulamiification@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/platform/chrome: coding style fixes

On Thu, May 29, 2014 at 08:45:07PM +0200, Robin Schroer wrote:
> added blank lines after declarations in some places
> 
> Signed-off-by: Robin Schroer <sulamiification@...il.com>
> ---
>  drivers/platform/chrome/chromeos_laptop.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
> index 7f1a2e2..0e2785a 100644
> --- a/drivers/platform/chrome/chromeos_laptop.c
> +++ b/drivers/platform/chrome/chromeos_laptop.c
> @@ -177,6 +177,7 @@ static int __find_i2c_adap(struct device *dev, void *data)
>  	const char *name = data;
>  	static const char *prefix = "i2c-";
>  	struct i2c_adapter *adapter;
> +
>  	if (strncmp(dev_name(dev), prefix, strlen(prefix)) != 0)
>  		return 0;
>  	adapter = to_i2c_adapter(dev);
> @@ -231,6 +232,7 @@ static struct i2c_client *add_i2c_device(const char *name,
>  						struct i2c_board_info *info)
>  {
>  	const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END };
> +
>  	return __add_probed_i2c_device(name,
>  				       find_i2c_adapter_num(type),
>  				       info,
> @@ -464,6 +466,7 @@ static struct platform_driver cros_platform_driver = {
>  static int __init chromeos_laptop_init(void)
>  {
>  	int ret;
> +
>  	if (!dmi_check_system(chromeos_laptop_dmi_table)) {
>  		pr_debug("%s unsupported system.\n", __func__);
>  		return -ENODEV;
> -- 
> 1.9.3
> 

Applied, thanks.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists