summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.com>2025-02-13 12:44:53 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:15 -0700
commit18ea595a07bcf931ec6efae5c1f8a0d9a440ed97 (patch)
treee57f11a259b1b007f3394b4c6fd6f898a5690eea /tools/perf/scripts/python
parent0b6d4853d1d7d8ab65de9e6958af4d5cdf6a2b75 (diff)
downloadlinux-18ea595a07bcf931ec6efae5c1f8a0d9a440ed97.tar.gz
linux-18ea595a07bcf931ec6efae5c1f8a0d9a440ed97.zip
maple_tree: remove a BUG_ON() in mas_alloc_nodes()
Remove a BUG_ON() right before a WARN_ON() with the same condition. Calling WARN_ON() and BUG_ON() here is definitely wrong. Since the goal is generally to remove BUG_ON() invocations from the kernel, keep only the WARN_ON(). Link: https://lkml.kernel.org/r/20250213114453.1078318-1-ptesarik@suse.com Fixes: 067311d33e65 ("maple_tree: separate ma_state node from status") Signed-off-by: Petr Tesarik <ptesarik@suse.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions