Re: [PATCH v2] drivers/staging/comedi/drivers/pcl816.c: style fix

Ian Abbott
2015-06-16T12:58:00Z

On 16/06/15 12:56, Guillermo O. Freschi wrote:
> Removed some spaces before a tab character.
>
> Signed-off-by: Guillermo O. Freschi <kedrot@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 1ccb2f1..781b321 100644
> --- a/drivers/staging/comedi/drivers/pcl816.c
> +++ b/drivers/staging/comedi/drivers/pcl816.c
> @@ -323,7 +323,7 @@ static int check_channel_list(struct comedi_device *dev,
>
> /* check whole chanlist */
> for (i = 0, segpos = 0; i < chanlen; i++) {
> - if (chanlist[i] != chansegment[i % seglen]) {
> + if (chanlist[i] != chansegment[i % seglen]) {
> dev_dbg(dev->class_dev,
> "bad channel or range number! chanlist[%i]=%d,%d,%d and not %d,%d,%d!\n",
> i, CR_CHAN(chansegment[i]),
>

Thanks, but it's also fixed by commit 8b4e7da516aa in linux-next.

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