Page MenuHomeFreeBSD

LinuxKPI: add sign_extend32()
ClosedPublic

Authored by bz on Jul 1 2021, 1:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 11:04 AM
Unknown Object (File)
Sun, Nov 23, 3:11 PM
Unknown Object (File)
Sat, Nov 22, 5:30 PM
Unknown Object (File)
Tue, Nov 18, 11:16 AM
Unknown Object (File)
Mon, Nov 17, 5:18 AM
Unknown Object (File)
Nov 11 2025, 9:22 PM
Unknown Object (File)
Nov 8 2025, 7:33 AM
Unknown Object (File)
Nov 8 2025, 3:21 AM

Details

Summary

Add sign_extend32() needed by rtw88.

MFC after: 10 days

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40211
Build 37100: arc lint + arc unit

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.