aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-01-11 10:33:27 +0100
committerGreg Kroah-Hartman <[email protected]>2023-01-11 16:10:09 +0100
commit7bbb89b420d9e290cb34864832de8fcdf2c140dc (patch)
tree43132319a1f5d764f30d67758bb1aa4103588831 /tools/perf/scripts/python
parent3bb2a01caa813d3a1845d378bbe4169ef280d394 (diff)
driver core: change to_subsys_private() to use container_of_const()
The macro to_subsys_private() needs to switch to using container_of_const() as it turned out to being incorrectly casting a const pointer to a non-const one. Make this change and fix up the one offending user to be correctly handling a const pointer properly. Cc: "Rafael J. Wysocki" <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions