Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317741
b: refs/heads/master
c: 1383ec4
h: refs/heads/master
i:
  317739: a8d0ab7
v: v3
  • Loading branch information
Johannes Thumshirn authored and Greg Kroah-Hartman committed Jul 6, 2012
1 parent 55fc192 commit 6ebc2c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2471c0933988eede8040d58cefd6be4fbef9c057
refs/heads/master: 1383ec4dad392a1c316820e9afb27b5fb95a6f57
8 changes: 4 additions & 4 deletions trunk/drivers/staging/line6/variax.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,10 @@ static ssize_t variax_set_volume(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;

Expand Down Expand Up @@ -418,10 +418,10 @@ static ssize_t variax_set_tone(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;

Expand Down

0 comments on commit 6ebc2c1

Please sign in to comment.