git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f3124
)
ALSA: rawmidi: Remove kernel WARNING for NULL user-space buffer check
author
Takashi Iwai
<tiwai@suse.de>
Mon, 1 Feb 2016 11:04:55 +0000
(12:04 +0100)
committer
Ben Hutchings
<ben@decadent.org.uk>
Sat, 27 Feb 2016 14:28:45 +0000
(14:28 +0000)
commit
cc85f7a634cfaf9f0713c6aa06d08817424db37a
upstream.
NULL user-space buffer can be passed even in a normal path, thus it's
not good to spew a kernel warning with stack trace at each time.
Just drop snd_BUG_ON() macro usage there.
BugLink:
http://lkml.kernel.org/r/CACT4Y+YfVJ3L+q0i-4vyQVyyPD7V=OMX0PWPi29x9Bo3QaBLdw@mail.gmail.com
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/core/rawmidi.c
patch
|
blob
|
history
diff --cc
sound/core/rawmidi.c
Simple merge