linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: comedi: drivers: pcl816.c remove leading space
@ 2015-07-20 11:23 Chandra S Gorentla
  2015-07-21  9:26 ` Ian Abbott
  0 siblings, 1 reply; 2+ messages in thread
From: Chandra S Gorentla @ 2015-07-20 11:23 UTC (permalink / raw)
  To: gregkh; +Cc: abbotti, hsweeten, linux-kernel, devel, Chandra S Gorentla

Checkpatch.pl warning - suspect code indent for conditional statements -
is corrected

Signed-off-by: Chandra S Gorentla <csgorentla@gmail.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;
-- 
2.4.5


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

* Re: [PATCH] staging: comedi: drivers: pcl816.c remove leading space
  2015-07-20 11:23 [PATCH] staging: comedi: drivers: pcl816.c remove leading space Chandra S Gorentla
@ 2015-07-21  9:26 ` Ian Abbott
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2015-07-21  9:26 UTC (permalink / raw)
  To: Chandra S Gorentla, gregkh; +Cc: hsweeten, linux-kernel, devel

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@gmail.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@mev.co.uk>

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

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

end of thread, other threads:[~2015-07-21  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20 11:23 [PATCH] staging: comedi: drivers: pcl816.c remove leading space Chandra S Gorentla
2015-07-21  9:26 ` Ian Abbott

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