Page MenuHomeFreeBSD

LinuxKPI: Make lockdep*_pin_lock macroses useable for drm-kmod
ClosedPublic

Authored by wulf on Dec 6 2021, 10:03 AM.
Tags
None
Referenced Files
F109026879: D33295.diff
Thu, Jan 30, 7:47 PM
Unknown Object (File)
Sat, Jan 25, 5:32 PM
Unknown Object (File)
Tue, Jan 21, 10:50 AM
Unknown Object (File)
Wed, Jan 1, 1:48 AM
Unknown Object (File)
Dec 23 2024, 5:04 AM
Unknown Object (File)
Dec 2 2024, 9:11 PM
Unknown Object (File)
Nov 22 2024, 7:20 AM
Unknown Object (File)
Nov 22 2024, 5:57 AM

Details

Summary
  • Add dummy struct pin_cookie definition;
  • Convert lockdep_pin_lock macro to function;
  • Fix 'unused variable' compile-time errors;

MFC after: 1 week

Diff Detail

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

Event Timeline

wulf requested review of this revision.Dec 6 2021, 10:03 AM
sys/compat/linuxkpi/common/include/linux/lockdep.h
97

Put double underscore before variables declared inside macros.

pc -> __pc

Add double underscores to name of declared variable

wulf marked an inline comment as done.Dec 6 2021, 10:38 AM
This revision is now accepted and ready to land.Dec 6 2021, 10:54 AM

Small type in message:

macroses -> macros