]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: miscdevice: add fops->show_fdinfo() hook
authorAlice Ryhl <aliceryhl@google.com>
Tue, 3 Dec 2024 12:34:38 +0000 (12:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Dec 2024 15:12:57 +0000 (16:12 +0100)
commit5bcc8bfe841b29f7d62f4bb7738bb085ecc51aad
treef6499ab81ede8beb0fe5847aa38ad4b5250fad16
parent8d9b095b8f898bddc6c59a3eb9f50c1aa194c57a
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>
rust/kernel/miscdevice.rs