Files
linux/rust/kernel
Danilo Krummrich 8ff656643d rust: devres: remove action in Devres::drop
So far `DevresInner` is kept alive, even if `Devres` is dropped until
the devres callback is executed to avoid a WARN() when the action has
been released already.

With the introduction of devm_remove_action_nowarn() we can remove the
action in `Devres::drop`, handle the case where the action has been
released already and hence also free `DevresInner`.

Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250107122609.8135-2-dakr@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-10 15:49:06 +01:00
..
2024-12-20 17:19:26 +01:00
2023-05-31 17:35:03 +02:00
2024-09-30 13:02:29 +02:00
2024-11-05 05:33:46 +01:00
2024-11-10 23:58:00 +01:00
2024-11-10 23:58:00 +01:00
2024-12-20 17:19:26 +01:00
2024-12-20 17:21:04 +01:00
2024-10-08 15:44:36 +02:00
2024-12-20 17:19:26 +01:00
2024-10-08 14:32:39 +02:00
2024-11-10 23:58:00 +01:00
2024-12-20 17:19:26 +01:00
2024-11-26 17:54:58 -08:00
2024-11-10 23:58:00 +01:00
2024-11-04 16:21:44 -05:00
2024-12-20 17:19:26 +01:00
2024-11-10 23:58:00 +01:00