HomeFreeBSD

Linux 6.11: first arg to proc_handler is now const

Description

Linux 6.11: first arg to proc_handler is now const

Detect it, and use a macro to make sure we always match the prototype.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #16400

Details

Provenance
rob.norris_klarasystems.comAuthored on Jul 31 2024, 2:15 AM
Tony Hutter <hutter2@llnl.gov>Committed on Aug 22 2024, 10:42 PM
Parents
rG92a8af0f8b74: Linux 6.11: get backing_dev_info through queue gendisk
Branches
Unknown
Tags
Unknown