summaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai2017-11-21 16:36:11 +0100
committerTakashi Iwai2017-11-21 16:36:11 +0100
commit3d4e8303f2c747c8540a0a0126d0151514f6468b (patch)
tree4b6761206e11463c08ec2fe50e734f62fcd910fe /sound/usb
parentALSA: pcm: update tstamp only if audio_tstamp changed (diff)
downloadkernel-qcow2-linux-3d4e8303f2c747c8540a0a0126d0151514f6468b.tar.gz
kernel-qcow2-linux-3d4e8303f2c747c8540a0a0126d0151514f6468b.tar.xz
kernel-qcow2-linux-3d4e8303f2c747c8540a0a0126d0151514f6468b.zip
ALSA: timer: Remove kernel warning at compat ioctl error paths
Some timer compat ioctls have NULL checks of timer instance with snd_BUG_ON() that bring up WARN_ON() when the debug option is set. Actually the condition can be met in the normal situation and it's confusing and bad to spew kernel warnings with stack trace there. Let's remove snd_BUG_ON() invocation and replace with the simple checks. Also, correct the error code to EBADFD to follow the native ioctl error handling. Reported-by: syzbot <syzkaller@googlegroups.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions