aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2022-11-10 15:24:55 +0000
committerRafael J. Wysocki <[email protected]>2022-11-14 18:04:37 +0000
commited97d10a8b2c78d1664b01658c5f581e6791ff7d (patch)
tree3876b7fa295e9ce3f179f6cf4a0acf1f457532b2 /tools/perf/scripts/python/mem-phys-addr.py
parentthermal/core: Ensure that thermal device is registered in thermal_zone_get_temp (diff)
downloadkernel-ed97d10a8b2c78d1664b01658c5f581e6791ff7d.tar.gz
kernel-ed97d10a8b2c78d1664b01658c5f581e6791ff7d.zip
thermal/core: Move parameter validation from __thermal_zone_get_temp to thermal_zone_get_temp
All callers of __thermal_zone_get_temp() already validated the thermal zone parameters. Move validation to thermal_zone_get_temp() where it is actually needed. Also add kernel documentation for __thermal_zone_get_temp(), listing the requirement that the function must be called with validated parameters and with thermal device mutex held. Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions