aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-13 19:18:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-17 15:16:48 +0100
commit9fa120fbd507e58af3494b8765427fdc8181e1eb (patch)
tree86a1e401cb235a26ea049d50fa8bcac8e6c79ebb /tools/perf/scripts/python/bin
parenttpm: fix up the tpm_class shutdown_pre pointer when created (diff)
downloadlinux-9fa120fbd507e58af3494b8765427fdc8181e1eb.tar.gz
linux-9fa120fbd507e58af3494b8765427fdc8181e1eb.zip
driver core: device: mark struct class in struct device as constant
The pointer to a struct class in a struct device should never be used to change anything in that class. So mark it as constant to enforce this requirement. This requires a few minor changes to some internal driver core functions to enforce the const * being used here now. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Link: https://lore.kernel.org/r/20230313181843.1207845-11-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions