diff options
| author | Luca Ceresoli <[email protected]> | 2025-02-13 14:05:13 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-20 12:26:30 +0000 |
| commit | 78eb41f518f414378643ab022241df2a9dcd008b (patch) | |
| tree | d1992eff3737e36f4fef4ec5a1ad6deeefe62b29 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | Linux 6.14-rc3 (diff) | |
| download | kernel-78eb41f518f414378643ab022241df2a9dcd008b.tar.gz kernel-78eb41f518f414378643ab022241df2a9dcd008b.zip | |
drivers: core: fix device leak in __fw_devlink_relax_cycles()
Commit bac3b10b78e5 ("driver core: fw_devlink: Stop trying to optimize
cycle detection logic") introduced a new struct device *con_dev and a
get_dev_from_fwnode() call to get it, but without adding a corresponding
put_device().
Closes: https://lore.kernel.org/all/20241204124826.2e055091@booty/
Fixes: bac3b10b78e5 ("driver core: fw_devlink: Stop trying to optimize cycle detection logic")
Cc: [email protected]
Reviewed-by: Saravana Kannan <[email protected]>
Signed-off-by: Luca Ceresoli <[email protected]>
Link: https://lore.kernel.org/r/20250213-fix__fw_devlink_relax_cycles_missing_device_put-v2-1-8cd3b03e6a3f@bootlin.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
