Re: [PATCH] BUGFIX: staging:iio:core add missing increment of loop index in iio_map_array_unregister()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/24/2012 06:19 AM, Lothar Waßmann wrote:
> staging:iio:core add missing increment of loop index in iio_map_array_unregister()
Gah!  Thanks for the patch.
> 
> Signed-off-by: Lothar Waßmann <LW@xxxxxxxxxxxxxxxxxxx>
Acked-by: Jonathan Cameron <jic23@xxxxxxxxxx>
> ---
>  drivers/staging/iio/inkern.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/staging/iio/inkern.c b/drivers/staging/iio/inkern.c
> index de2c8ea..ef07a02b 100644
> --- a/drivers/staging/iio/inkern.c
> +++ b/drivers/staging/iio/inkern.c
> @@ -82,6 +82,7 @@ int iio_map_array_unregister(struct iio_dev *indio_dev,
>  			ret = -ENODEV;
>  			goto error_ret;
>  		}
> +		i++;
>  	}
>  error_ret:
>  	mutex_unlock(&iio_map_list_lock);

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux