diff options
| author | Kaushlendra Kumar <kaushlendra.kumar@intel.com> | 2026-02-11 08:23:15 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-02-11 20:56:01 +0100 |
| commit | 15176b818e048ccf6ef4b96db34eda7b7e98938a (patch) | |
| tree | 2f6757c0ba3c0057f7041a01b46affe43282c48a /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 0506158ac7363a70f0deb49f71d26ccb57e55990 (diff) | |
thermal: int340x: Fix sysfs group leak on DLVR registration failure
When DLVR sysfs group creation fails in proc_thermal_rfim_add(),
the function returns immediately without cleaning up the FIVR group
that may have been created earlier.
Add proper error unwinding to remove the FIVR group before returning
failure.
Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/LV3PR11MB876881B77D32A2854AD2908EF563A@LV3PR11MB8768.namprd11.prod.outlook.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
