Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324525
b: refs/heads/master
c: 9291975
h: refs/heads/master
i:
  324523: dc9e10b
v: v3
  • Loading branch information
Johannes Thumshirn authored and Greg Kroah-Hartman committed Aug 14, 2012
1 parent f3eb237 commit 3cb85e4
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: 858c8ada41c5ff9700f23c6b41adb9586f2983b8
refs/heads/master: 9291975d6647794710553630c2613b5658c81d3f
8 changes: 4 additions & 4 deletions trunk/drivers/staging/line6/variax.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 3cb85e4

Please sign in to comment.