summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-08-15 11:01:34 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-04 17:52:45 +0200
commit40989202104e498ff9adfb8c575d6cd159f13988 (patch)
treec11613283189e7b0968ef7079132e91de25c6e37 /tools/perf/scripts/python/export-to-postgresql.py
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
thermal: intel: powerclamp: Reject invalid window_size values
window_size_set() sets ret to -EINVAL if new_window_size is outside the valid range, but then falls through and still updates window_size to the clamped value. Return -EINVAL immediately and do not update window_size. Also drop the now-redundant clamp() call. Fixes: d6d71ee4a14a ("PM: Introduce Intel PowerClamp Driver") Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20260815090136.88540-2-thorsten.blum@linux.dev Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions