diff options
author | Matthew Maurer <mmaurer@google.com> | 2025-09-05 00:13:54 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-09-10 19:58:16 +0300 |
commit | 839dc1d15b9ba5318ed145b20efffcfa91c02a3d (patch) | |
tree | d684683f6ef63f2156a2766dd50befa84b879756 /rust/kernel/irq/request.rs | |
parent | 5e40b591cb46c0379d5406fa5548c9b2a3801353 (diff) | |
download | linux-839dc1d15b9ba5318ed145b20efffcfa91c02a3d.tar.xz |
rust: debugfs: Add support for writable files
Extends the `debugfs` API to support creating writable files. This
is done via the `Dir::write_only_file` and `Dir::read_write_file`
methods, which take a data object that implements the `Reader`
trait.
Signed-off-by: Matthew Maurer <mmaurer@google.com>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250904-debugfs-rust-v11-3-7d12a165685a@google.com
[ Fix up Result<()> -> Result. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions