Page MenuHomeFreeBSD

LinuxKPI: add sign_extend32()
ClosedPublic

Authored by bz on Jul 1 2021, 1:16 PM.
Tags
None
Referenced Files
F153370311: D30979.id91613.diff
Mon, Apr 20, 6:38 PM
Unknown Object (File)
Tue, Mar 24, 12:48 AM
Unknown Object (File)
Sun, Mar 22, 9:46 AM
Unknown Object (File)
Mar 21 2026, 2:45 AM
Unknown Object (File)
Mar 18 2026, 1:07 AM
Unknown Object (File)
Mar 7 2026, 3:40 PM
Unknown Object (File)
Mar 6 2026, 10:15 PM
Unknown Object (File)
Mar 1 2026, 5:05 AM

Details

Summary

Add sign_extend32() needed by rtw88.

MFC after: 10 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Jul 1 2021, 1:16 PM
This revision is now accepted and ready to land.Jul 1 2021, 3:25 PM
hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/bitops.h
416

should index be uint8_t aswell?

sys/compat/linuxkpi/common/include/linux/bitops.h
416

This matches the function signature from Linux

sys/compat/linuxkpi/common/include/linux/bitops.h
416

@emaste "this" being "int" or "uint8_t"? The 64bit version above only had a "int" and I went by that,

This revision was automatically updated to reflect the committed changes.