Re: [PATCH] drivers/staging/line6/variax.c: Change somestrict_strtoul() calls

From: morbid-rsa
Date: Sat Jun 02 2012 - 07:36:38 EST


Just wanted to ask about the status of this patch.

On Sun, May 20, 2012 at 2:55 PM, Johannes Thumshirn
<morbidrsa@xxxxxxxxxxxxxx> wrote:
> Changed strict_strtoul() calls which do not result in a need to change
> interfaces of called functions.
>
> Suggested-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Johannes Thumshirn <morbidrsa@xxxxxxxxxxxxxx>
> ---
> Âdrivers/staging/line6/variax.c | Â Â8 ++++----
> Â1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6/variax.c
> index d366222..efa496d 100644
> --- a/drivers/staging/line6/variax.c
> +++ b/drivers/staging/line6/variax.c
> @@ -353,10 +353,10 @@ static ssize_t variax_set_model(struct device *dev,
> Â{
> Â Â Â Âstruct usb_line6_variax *variax =
> Â Â Â Â Â Âusb_get_intfdata(to_usb_interface(dev));
> - Â Â Â unsigned long value;
> + Â Â Â u8 value;
> Â Â Â Âint ret;
>
> - Â Â Â ret = strict_strtoul(buf, 10, &value);
> + Â Â Â ret = kstrtou8(buf, 10, &value);
> Â Â Â Âif (ret)
> Â Â Â Â Â Â Â Âreturn ret;
>
> @@ -387,10 +387,10 @@ static ssize_t variax_set_active(struct device *dev,
> Â{
> Â Â Â Âstruct usb_line6_variax *variax =
> Â Â Â Â Â Âusb_get_intfdata(to_usb_interface(dev));
> - Â Â Â unsigned long value;
> + Â Â Â u8 value;
> Â Â Â Âint ret;
>
> - Â Â Â ret = strict_strtoul(buf, 10, &value);
> + Â Â Â ret = kstrtou8(buf, 10, &value);
> Â Â Â Âif (ret)
> Â Â Â Â Â Â Â Âreturn ret;
>
> --
> 1.7.7.6
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/