Page MenuHomeFreeBSD

LinuxKPI: move hex2bin() from kernel.h to new hex.h
ClosedPublic

Authored by bz on Tue, Apr 14, 3:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 4:39 AM
Unknown Object (File)
Sat, Apr 18, 7:49 AM
Unknown Object (File)
Sat, Apr 18, 7:47 AM
Unknown Object (File)
Sat, Apr 18, 6:10 AM
Unknown Object (File)
Sat, Apr 18, 3:32 AM
Unknown Object (File)
Fri, Apr 17, 5:17 PM
Subscribers

Details

Summary

New Linux v7.0 drivers include hex.h. Rather than adding a dummy
header, migrate the kernel.h hex2bin() into hex.h, where it belongs.
Care needs to be taken as the _h2b() helper function is still used by
other bits in kernel.h.

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.Tue, Apr 14, 3:31 PM

LGTM. Was added in deb9bfbd5bcea so copyright statement looks good.

This revision is now accepted and ready to land.Tue, Apr 14, 4:06 PM

LGTM. Was added in deb9bfbd5bcea so copyright statement looks good.

I was wondering about that too but I believe it came from the time when I worked on rtw89 off-clock back then.
There's been a few commits around that date related to rtw89 which weren't Sponsored by:.