aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2022-10-17 15:33:01 +0530
committerRafael J. Wysocki <[email protected]>2022-10-25 18:58:11 +0200
commitc408b3d1d9bbc7de5fb0304fea424ef2539da616 (patch)
tree4df01a831c649894ec6666e0e5758b5ccbe457e1 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent247f34f7b80357943234f93f247a1ae6b6c3a740 (diff)
thermal: Validate new state in cur_state_store()
In cur_state_store(), the new state of the cooling device is received from user-space and is not validated by the thermal core but the same is left for the individual drivers to take care of. Apart from duplicating the code it leaves possibility for introducing bugs where a driver may not do it right. Lets make the thermal core check the new state itself and store the max value in the cooling device structure. Link: https://lore.kernel.org/all/Y0ltRJRjO7AkawvE@kili/ Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions