diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-09-28 10:06:20 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-09-28 12:33:03 (GMT) |
commit | e87359efcaf45efc41dbaa6ec25eb26705300cee (patch) | |
tree | 3b834c58ea97ef808aefabab9109f01664d39dd7 /sound/firewire | |
parent | b7631a12e726597cffde1b29cc3bcf811981c1fb (diff) | |
download | linux-e87359efcaf45efc41dbaa6ec25eb26705300cee.tar.xz |
ALSA: usb-audio: harmless underflow in snd_audigy2nx_led_put()
We want to verify that "value" is either zero or one, so we test if it
is greater than one. Unfortunately, this is a signed int so it could
also be negative. I think this is harmless but it introduces a static
checker warning. Let's make "value" unsigned.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions