summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPei Xiao <xiaopei01@kylinos.cn>2026-07-23 14:34:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-30 16:58:19 +0200
commitb1b89b3df638bc1c46dd71f4f8a29753245d99d6 (patch)
tree29eb22c6bee611d8ce4d590c4ccafffb1acb0d5f /tools/perf/scripts/python/bin/stackcollapse-record
parentb6932e768405eeada3862951339bf968fc1e725f (diff)
serial: bcm63xx-uart: silence false positive coccinelle warning on clk_put
Coccinelle warns about missing clk_put on the error path after clk_get, but the error path returns with an ERR_PTR where clk_put must not be called. Restructure into a single if block so the logic is clear to silence false positive coccinelle warning. Commit 580d952e44de ("tty: serial: bcm63xx: fix missing clk_put() in bcm63xx_uart") previously tried to fix this same warning by adding a clk_put, which was reverted because it was wrong. Prevent anyone from making the same mistake again. Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn> Link: https://patch.msgid.link/604886147edb67c3ed85b192eb3f7a4a6dd0f0ac.1784788388.git.xiaopei01@kylinos.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions