aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPeng Zhang <[email protected]>2023-11-20 15:09:33 +0800
committerAndrew Morton <[email protected]>2023-12-12 10:57:00 -0800
commit2e783f0c1a0d9017209f2ed243960924ebb602cb (patch)
treef27ee7586ec7f83e567e8946766b78cf146c33b1 /tools/perf/scripts/python/exported-sql-viewer.py
parentd1fefa3d22447923e75ab2cd7abe302e43b77d0c (diff)
maple_tree: move the check forward to avoid static check warning
Patch series "Some cleanups of maple tree", v2. These are some small cleanups of maple tree. This patch (of 5): Put the check for gap before its reference to avoid Smatch static check warnings. This is not a bug, it's just a validation program. Even with this change, Smatch may still generate warnings because MT_BUG_ON() doesn't necessarily stop the program. It may require fixing Smatch itself to avoid these warnings. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peng Zhang <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: http://lists.infradead.org/pipermail/maple-tree/2023-November/003046.html Reviewed-by: Liam R. Howlett <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions