lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGH8bx63_fBKnD3P6c3gn9odAjj4bXzVrpsOyE6grHT7hOYy-g@mail.gmail.com>
Date:	Sat, 2 Jun 2012 13:36:10 +0200
From:	morbid-rsa <morbidrsa@...glemail.com>
To:	gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org
Cc:	grabner@....tugraz.at, andor.daam@...glemail.com, thomas@...3r.de,
	jj@...osbits.net, stefanha@...il.com,
	Johannes Thumshirn <morbidrsa@...glemail.com>
Subject: Re: [PATCH] drivers/staging/line6/variax.c: Change some
 strict_strtoul() calls

Just wanted to ask about the status of this patch.

On Sun, May 20, 2012 at 2:55 PM, Johannes Thumshirn
<morbidrsa@...glemail.com> wrote:
> Changed strict_strtoul() calls which do not result in a need to change
> interfaces of called functions.
>
> Suggested-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Johannes Thumshirn <morbidrsa@...glemail.com>
> ---
>  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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ