diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-10-15 21:17:11 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-17 12:06:28 +0200 |
commit | 724097059a8e5df1aa162d153b8f90b0ffbb82dc (patch) | |
tree | 6cef9c43b73c61a3d182db8df2880a812f1abf85 /sound/firewire/amdtp-am824.h | |
parent | 69ec98d7e5661a1c98ec51c26d6e91af3bbe0e72 (diff) |
ALSA: firewire-tascam: off by one in handle_midi_tx()
My static checker complains because tscm->spec->midi_capture_ports is
either 2 or 4 but the tscm->tx_midi_substreams[] array has 4 elements so
this is possibly off by one. I have looked at the code and I think it
should be >= instead of > as well.
Fixes: 107cc0129a68 ('ALSA: firewire-tascam: add support for incoming MIDI messages by asynchronous transaction')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp-am824.h')
0 files changed, 0 insertions, 0 deletions