diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-17 13:42:41 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-01-06 16:34:23 +0100 |
| commit | 632d89b030f1dac8d91875cd56a08adededba349 (patch) | |
| tree | 0185d911b68202c6b9724b43eb0ba758acf5b449 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 01122b89361e565b3c88b9fbebe92dc5c7420cb7 (diff) | |
perf/x86/uncore: clean up const mismatch
In some cmp functions, a const pointer is cast out to a non-const
pointer by using container_of() which is not correct. Fix this up by
properly marking the pointers as const, which preserves the correct
type of the pointer passed into the functions.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/2025121741-headstand-stratus-f5eb@gregkh
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
