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]
Date:	Sat, 14 Jun 2014 16:15:03 +0100
From:	Jonathan Cameron <jic23@...nel.org>
To:	Jimmy Picard <jimmyp11f155@...il.com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC:	linux-iio@...r.kernel.org, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: iio: fix coding style

On 13/06/14 06:56, Jimmy Picard wrote:
> This patch fixes coding style reported by checkpatch.pl that missing
> a blank line after declarations.
>
> Signed-off-by: Jimmy Picard <jimmyp11f155@...il.com>
Hmm. This is in the trivial enough to be marginally annoying
category of basically noise.  Normally I'd only take this as
part of a larger series doing something more interesting, but
what the heck.

Applied to the togreg branch of iio.git

J
> ---
>   drivers/staging/iio/iio_simple_dummy.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/staging/iio/iio_simple_dummy.c b/drivers/staging/iio/iio_simple_dummy.c
> index fd334a0..bf78e6f 100644
> --- a/drivers/staging/iio/iio_simple_dummy.c
> +++ b/drivers/staging/iio/iio_simple_dummy.c
> @@ -550,6 +550,7 @@ error_ret:
>   static __init int iio_dummy_init(void)
>   {
>   	int i, ret;
> +
>   	if (instances > 10) {
>   		instances = 1;
>   		return -EINVAL;
> @@ -577,6 +578,7 @@ module_init(iio_dummy_init);
>   static __exit void iio_dummy_exit(void)
>   {
>   	int i;
> +
>   	for (i = 0; i < instances; i++)
>   		iio_dummy_remove(i);
>   	kfree(iio_dummy_devs);
>

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ