Page MenuHomeFreeBSD

sys/powerpc: cleanup device driver module setup
AbandonedPublic

Authored by ehem_freebsd_m5p.com on Nov 13 2024, 9:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 23, 2:50 AM
Unknown Object (File)
Fri, Nov 21, 9:14 AM
Unknown Object (File)
Fri, Nov 7, 1:34 PM
Unknown Object (File)
Fri, Nov 7, 10:53 AM
Unknown Object (File)
Tue, Nov 4, 11:46 PM
Unknown Object (File)
Oct 27 2025, 3:00 PM
Unknown Object (File)
Oct 26 2025, 5:28 PM
Unknown Object (File)
Oct 16 2025, 1:31 AM
Subscribers

Details

Reviewers
jhibbits
Summary

Convert large numbers of instances of overt driver_t structures to using
the DEFINE_CLASS_0() macro. Greater consistency should reduce future
errors. Convert several uses of '{ 0, 0 }' driver method list ends to
DEVMETHOD_END macro.

Small amounts of similar cleanup to similar macros. The opal_sensor
module had omitted the sentinal from the table. That had likely been
functioning due to dumb luck for some time.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 60525
Build 57409: arc lint + arc unit