Page MenuHomeFreeBSD

LinuxKPI: add str_read_write()
ClosedPublic

Authored by bz on Jan 31 2026, 11:18 PM.
Tags
None
Referenced Files
F156937079: D55029.diff
Sun, May 17, 12:01 PM
Unknown Object (File)
Sat, May 9, 7:25 PM
Unknown Object (File)
Sat, May 9, 7:18 PM
Unknown Object (File)
Thu, May 7, 12:04 PM
Unknown Object (File)
Thu, Apr 30, 7:21 AM
Unknown Object (File)
Thu, Apr 30, 7:21 AM
Unknown Object (File)
Wed, Apr 29, 8:11 AM
Unknown Object (File)
Wed, Apr 29, 8:05 AM
Subscribers

Details

Summary

Needed by a wireless driver.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 70307
Build 67190: arc lint + arc unit

Event Timeline

bz requested review of this revision.Jan 31 2026, 11:18 PM
kib added inline comments.
sys/compat/linuxkpi/common/include/linux/string_choices.h
77

return (value ? "read" : "write");
?

sys/compat/linuxkpi/common/include/linux/string_choices.h
77

Yes, but it's not the style of the file. If we want to do this we should adjust them all.

If we want to do this we should adjust them all.

OK, that could be a follow-up.

This revision is now accepted and ready to land.Feb 1 2026, 8:17 PM

If we want to do this we should adjust them all.

OK, that could be a follow-up.

I'll do that.

This revision was automatically updated to reflect the committed changes.