Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281299
b: refs/heads/master
c: 251c394
h: refs/heads/master
i:
  281297: f868383
  281295: d7b0b2c
v: v3
  • Loading branch information
Andor Daam authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent 89ede48 commit b62ecfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 4d85fae04f23ebbdbbb11061b8eec48082ecdc43
refs/heads/master: 251c3948808046c39359658fa2faffff45b825d3
4 changes: 2 additions & 2 deletions trunk/drivers/staging/line6/midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,10 @@ static ssize_t midi_set_midi_mask_receive(struct device *dev,
{
struct usb_interface *interface = to_usb_interface(dev);
struct usb_line6 *line6 = usb_get_intfdata(interface);
unsigned long value;
unsigned short value;
int ret;

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

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/line6/midi.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct snd_line6_midi {
/**
Bit mask for input MIDI channels.
*/
int midi_mask_receive;
unsigned short midi_mask_receive;

/**
Buffer for incoming MIDI stream.
Expand Down

0 comments on commit b62ecfa

Please sign in to comment.