summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-17 13:36:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-16 16:36:05 +0100
commit86b31a2c81817d09cb5cbea9457a9f294ed9bb7d (patch)
tree088f00642a421e72aa3cbd0d9ae94a98d9dee758 /tools/perf/scripts/python/bin
parentbd87458c163820ad8f8c65bb24a0e35f145b8ace (diff)
downloadlinux-86b31a2c81817d09cb5cbea9457a9f294ed9bb7d.tar.gz
linux-86b31a2c81817d09cb5cbea9457a9f294ed9bb7d.zip
test_list_sort: fix up const mismatch
In the internal cmp function, a const pointer is cast out to a non-const pointer by using container_of(). This is probably not what is intended at all, so fix up the const marking to properly preserve what is really happening (i.e. the const should flow through the container_of() call) Cc: Jakub Kicinski <kuba@kernel.org> Cc: David Gow <davidgow@google.com> Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Kees Cook <kees@kernel.org> Cc: linux-kernel@vger.kernel.org Reviewed-by: David Gow <davidgow@google.com> Link: https://patch.msgid.link/2025121751-backtrack-manifesto-7c57@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions