Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281298
b: refs/heads/master
c: 4d85fae
h: refs/heads/master
v: v3
  • Loading branch information
Andor Daam authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent f868383 commit 89ede48
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: 2f30866fbf0dd3b1d5ea87ebab2a96222d1cebe9
refs/heads/master: 4d85fae04f23ebbdbbb11061b8eec48082ecdc43
4 changes: 2 additions & 2 deletions trunk/drivers/staging/line6/midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@ static ssize_t midi_set_midi_mask_transmit(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 @@ -57,7 +57,7 @@ struct snd_line6_midi {
/**
Bit mask for output MIDI channels.
*/
int midi_mask_transmit;
unsigned short midi_mask_transmit;

/**
Bit mask for input MIDI channels.
Expand Down

0 comments on commit 89ede48

Please sign in to comment.