diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-08-21 13:25:34 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-21 14:12:45 +0200 |
commit | 9e46aedab389122948144713ee5b8bae2658fb1b (patch) | |
tree | a6dd9088d72cd76b056d58be16233ffe227b4781 /scripts/recordmcount.h | |
parent | ALSA: hdac: add snd_hdac_refresh_widget_sysfs() (diff) | |
download | linux-9e46aedab389122948144713ee5b8bae2658fb1b.tar.xz linux-9e46aedab389122948144713ee5b8bae2658fb1b.zip |
ALSA: hdsp: silence and underflow warning
I believe this probably cannot happen, as the code suggests. There
would have to be an kcontrol->index.id which was zero, otherwise this
would be prevented in snd_ctl_find_id(). But snd_BUG_ON() is just a
WARN() or a no-op so static checkers complain that we keep on going with
a negative offset. Let's just handle the error as well as printing
a warning.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions