summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorwangdicheng <wangdicheng@kylinos.cn>2026-07-17 17:15:41 +0800
committerTakashi Iwai <tiwai@suse.de>2026-07-19 10:42:22 +0200
commit4797f267159029a6ac93f3d25c22eed3d07fda42 (patch)
treeb6c625a1f9095905f9585bfe100b7e8e7730a676 /tools/perf/scripts/python/bin/stackcollapse-record
parent4392569d95e6a794780fc33ce168744c67cb162e (diff)
ALSA: sparc/dbri: Fix "possible condition with no effect" warning
Fix a compiler warning about a condition with no effect: sound/sparc/dbri.c:1843:1-3: WARNING: possible condition with no effect (if == else) When DBRI_DEBUG is not defined, dprintk expands to an empty do-while statement, making both branches of the if-else no-ops. Guard the entire debug block with #ifdef DBRI_DEBUG to eliminate the warning and keep the rval reference consistent with its declaration scope. Signed-off-by: wangdicheng <wangdicheng@kylinos.cn> Link: https://patch.msgid.link/20260717091542.721877-3-wangdich9700@163.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions