staging: comedi: drivers: pcl816.c remove leading space
PATCH 1/1 staging: comedi: drivers: pcl816.c remove leading space
Checkpatch.pl warning - suspect code indent for conditional statements - is corrected
Signed-off-by Chandra S Gorentla <[email protected]>
--- drivers/staging/comedi/drivers/pcl816.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/pcl816.c +1 -1
@@ -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;
Signature · 1 line
2.4.5
Quoted 14 lines · Chandra S Gorentla
Checkpatch.pl warning - suspect code indent for conditional statements - is corrected
Signed-off-by Chandra S Gorentla <[email protected]>--- drivers/staging/comedi/drivers/pcl816.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/comedi/drivers/pcl816.c +0
-0
drivers/staging/comedi/drivers/pcl816.c static int check_channel_list(struct comedi_device *dev, · line 311
Quoted 8 lines
drivers/staging/comedi/drivers/pcl816.c +1
-1@@ -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 <[email protected]>
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=- -=( Web: http://www.mev.co.uk/ )=-