aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-09-01 15:18:02 +0200
committerTakashi Iwai <[email protected]>2020-09-01 15:18:33 +0200
commit949a1ebe8cea7b342085cb6a4946b498306b9493 (patch)
tree804b25d5c4e72d6ff4b26b7d19f29e94397eb20e /tools/perf/util/scripting-engines/trace-event-python.c
parent15cbff3fbbc631952c346744f862fb294504b5e2 (diff)
ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
The PCM OSS mulaw plugin has a check of the format of the counter part whether it's a linear format. The check is with snd_BUG_ON() that emits WARN_ON() when the debug config is set, and it confuses syzkaller as if it were a serious issue. Let's drop snd_BUG_ON() for avoiding that. While we're at it, correct the error code to a more suitable, EINVAL. Reported-by: [email protected] Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions