summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2025-02-13 17:05:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-13 15:08:05 +0300
commit35091c9b423b7de7c60f37a3db0cb8db890b9211 (patch)
tree01e905f91f1fb91a6b42301df581b31af238cb15 /scripts/generate_rust_analyzer.py
parent9960c408b8c5df0f1936b599f070c5b355eb60a2 (diff)
downloadlinux-35091c9b423b7de7c60f37a3db0cb8db890b9211.tar.xz
drivers: core: fix device leak in __fw_devlink_relax_cycles()
commit 78eb41f518f414378643ab022241df2a9dcd008b upstream. 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: stable@vger.kernel.org Reviewed-by: Saravana Kannan <saravanak@google.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> 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 <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions