diff options
author | 2024-12-03 12:34:38 +0000 | |
---|---|---|
committer | 2024-12-16 16:12:57 +0100 | |
commit | 5bcc8bfe841b29f7d62f4bb7738bb085ecc51aad (patch) | |
tree | f6499ab81ede8beb0fe5847aa38ad4b5250fad16 /rust/kernel/types.rs | |
parent | samples: rust_misc_device: Provide an example C program to exercise functionality (diff) | |
download | linux-rng-5bcc8bfe841b29f7d62f4bb7738bb085ecc51aad.tar.xz linux-rng-5bcc8bfe841b29f7d62f4bb7738bb085ecc51aad.zip |
rust: miscdevice: add fops->show_fdinfo() hook
File descriptors should generally provide a fops->show_fdinfo() hook for
debugging purposes. Thus, add such a hook to the miscdevice
abstractions.
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20241203-miscdevice-showfdinfo-v1-1-7e990732d430@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/types.rs')
0 files changed, 0 insertions, 0 deletions