summaryrefslogtreecommitdiff
path: root/drivers/platform/wmi/tests/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAravind Anilraj <aravindanilraj0702@gmail.com>2026-03-29 03:06:42 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-26 19:27:53 +0200
commit8aa807a89dccdff4bcfc0cfc459b1ba714badbb6 (patch)
tree2c530424b7c604ef2c06c977385af861bf4d3029 /drivers/platform/wmi/tests/git@git.tavy.me:linux.git
parent1fac72873549bbdd6292014d9676bcf1c39cf285 (diff)
thermal: intel: int340x: Check return value of ptc_create_groups()
proc_thermal_ptc_add() ignores the return value of ptc_create_groups() causing the driver to silenty continue even if sysfs group creation fails. The thermal control interface would be unavailable with no indication of failure. Check the return value and on failure clean up any sysfs groups that were successfully created before the error, then propagate the error to the caller which already handles it correctly via goto err_rem_rapl. Signed-off-by: Aravind Anilraj <aravindanilraj0702@gmail.com> Link: https://patch.msgid.link/20260329070642.10721-3-aravindanilraj0702@gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions