summaryrefslogtreecommitdiff
path: root/sound/aoa/aoa.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-05-18 12:16:07 +0300
committerTakashi Iwai <tiwai@suse.de>2018-05-18 13:38:34 +0200
commited1812c44cdc04fc56c5e7f7fdcd31941ffce58d (patch)
treed97900b103f91449c6f68b6de7321364235ffee2 /sound/aoa/aoa.h
parented14d9ae53ec020a16e7828f046450acaf0fd6d7 (diff)
downloadlwn-ed1812c44cdc04fc56c5e7f7fdcd31941ffce58d.tar.gz
lwn-ed1812c44cdc04fc56c5e7f7fdcd31941ffce58d.zip
ALSA: dice: fix a bounds check in snd_dice_detect_tcelectronic_formats()
The "entry" pointer is always non-NULL so this test for out of bounds won't work. Fixes: f1f0f330b1d0 ("ALSA: dice: add parameters of stream formats for models produced by TC Electronic") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/aoa.h')
0 files changed, 0 insertions, 0 deletions