HomeFreeBSD

linuxkpi: Add `show_fdinfo()` to `struct file_operations`

Description

linuxkpi: Add show_fdinfo() to struct file_operations

We never call this field but it allows to compile drivers without
modifications.

This is used by the DRM drivers for some time, but another change part
of the update to Linux 6.8 led to compile them with CONFIG_PROC_FS.
This connected code that uses this struct field.

Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49069

Details

Provenance
dumbbellAuthored on Feb 8 2025, 9:42 PM
Reviewer
bz
Differential Revision
D49069: linuxkpi: Add `show_fdinfo()` to `struct file_operations`
Parents
rGca4ce6a56f9c: linuxkpi: Add `sysfs_create_bin_file()` and `sysfs_remove_bin_file()`
Branches
Unknown
Tags
Unknown