summaryrefslogtreecommitdiff
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-15 20:35:33 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-18 13:13:05 +0200
commitea3105672c68a5b6d7368504067220682ee6c65c (patch)
tree5dda2b12b6ee7db28e4ab6007789e7b2e94945b1 /fs/file_table.c
parentce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff)
downloadlwn-ea3105672c68a5b6d7368504067220682ee6c65c.tar.gz
lwn-ea3105672c68a5b6d7368504067220682ee6c65c.zip
thermal: sysfs: Fix trip_point_hyst_store()
After commit 2e38a2a981b2 ("thermal/core: Add a generic thermal_zone_set_trip() function") updating a trip point temperature doesn't actually work, because the value supplied by user space is subsequently overwritten with the current trip point hysteresis value. Fix this by changing the code to parse the number string supplied by user space after retrieving the current trip point data from the thermal zone. Also drop a redundant tab character from the code in question. Fixes: 2e38a2a981b2 ("thermal/core: Add a generic thermal_zone_set_trip() function") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: 6.3+ <stable@vger.kernel.org> # 6.3+
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions