Skip to content

Commit

Permalink
staging: line6: Exchanged strict_strtoul with kstrtou8() in pod.c:pod…
Browse files Browse the repository at this point in the history
…_resolve()

Exchanged call to strict_strtoul() with kstrtou8() in pod_resolve().

Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Johannes Thumshirn authored and Greg Kroah-Hartman committed Jul 6, 2012
1 parent 336cab9 commit 1d0e834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/line6/pod.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,11 @@ void line6_pod_transmit_parameter(struct usb_line6_pod *pod, int param,
static int pod_resolve(const char *buf, short block0, short block1,
unsigned char *location)
{
unsigned long value;
u8 value;
short block;
int ret;

ret = strict_strtoul(buf, 10, &value);
ret = kstrtou8(buf, 10, &value);
if (ret)
return ret;

Expand Down

0 comments on commit 1d0e834

Please sign in to comment.