HomeFreeBSD

LinuxKPI: sysfs: implement sysfs_match_string()

Description

LinuxKPI: sysfs: implement sysfs_match_string()

Use a macro to automatically gather the length of the array while
we can.

Sponsored by: The FreeBSD Foundation
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D50007

(cherry picked from commit f94d7319540b9b2256be60c2c666efe0b6e635ef)

Details

Provenance
bzAuthored on Apr 24 2025, 2:09 PM
Reviewer
emaste
Differential Revision
D50007: LinuxKPI: sysfs: implement sysfs_match_string()
Parents
rG6510caf35680: LinuxKPI: pci: add pci_info()
Branches
Unknown
Tags
Unknown