Page MenuHomeFreeBSD

LinuxKPI: add str_read_write()
ClosedPublic

Authored by bz on Sat, Jan 31, 11:18 PM.
Tags
None
Referenced Files
F144051666: D55029.id171098.diff
Tue, Feb 3, 11:14 PM
F144050524: D55029.diff
Tue, Feb 3, 10:48 PM
Unknown Object (File)
Mon, Feb 2, 11:11 AM
Unknown Object (File)
Sun, Feb 1, 3:36 PM
Unknown Object (File)
Sun, Feb 1, 3:02 PM
Unknown Object (File)
Sun, Feb 1, 11:07 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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Sat, Jan 31, 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.Sun, Feb 1, 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.