summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-17 13:32:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-16 16:36:08 +0100
commit68a9459a5c4e8b978c3eb5d75be5446799e483de (patch)
tree547055454f097d5f54286090444ee7cee9830aa5 /tools/perf/scripts/python/event_analyzing_sample.py
parent86b31a2c81817d09cb5cbea9457a9f294ed9bb7d (diff)
downloadlinux-68a9459a5c4e8b978c3eb5d75be5446799e483de.tar.gz
linux-68a9459a5c4e8b978c3eb5d75be5446799e483de.zip
kunit: fix up const mis-match in many assert functions
In many kunit assert functions a const pointer is passed to container_of() and out pops a non-const pointer, which really isn't the correct thing to do at all. Fix this up by correctly marking the casted-to pointer as const to preserve the marking. Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: David Gow <davidgow@google.com> Cc: Rae Moar <raemoar63@gmail.com> Cc: linux-kselftest@vger.kernel.org Cc: kunit-dev@googlegroups.com Reviewed-by: David Gow <davidgow@google.com> Link: https://patch.msgid.link/2025121746-result-staleness-5a68@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions