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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 21 Jul 2015 10:26:01 +0100
From:	Ian Abbott <abbotti@....co.uk>
To:	Chandra S Gorentla <csgorentla@...il.com>,
	gregkh@...uxfoundation.org
CC:	hsweeten@...ionengravers.com, linux-kernel@...r.kernel.org,
	devel@...verdev.osuosl.org
Subject: Re: [PATCH] staging: comedi: drivers: pcl816.c remove leading space

On 20/07/15 12:23, Chandra S Gorentla wrote:
> Checkpatch.pl warning - suspect code indent for conditional statements -
> is corrected
>
> Signed-off-by: Chandra S Gorentla <csgorentla@...il.com>
> ---
>   drivers/staging/comedi/drivers/pcl816.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c
> index 781b321..a353d1b 100644
> --- a/drivers/staging/comedi/drivers/pcl816.c
> +++ b/drivers/staging/comedi/drivers/pcl816.c
> @@ -305,7 +305,7 @@ static int check_channel_list(struct comedi_device *dev,
>   		chansegment[0] = chanlist[0];
>   		for (i = 1, seglen = 1; i < chanlen; i++, seglen++) {
>   			/*  we detect loop, this must by finish */
> -			    if (chanlist[0] == chanlist[i])
> +			if (chanlist[0] == chanlist[i])
>   				break;
>   			nowmustbechan =
>   			    (CR_CHAN(chansegment[i - 1]) + 1) % chanlen;
>

Thanks for the correction.

Reviewed-by: Ian Abbott <abbotti@....co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@....co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
--
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