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)
Mon, Oct 27, 3:00 PM
Unknown Object (File)
Sun, Oct 26, 5:28 PM
Unknown Object (File)
Thu, Oct 16, 1:31 AM
Unknown Object (File)
Tue, Oct 14, 6:11 AM
Unknown Object (File)
Fri, Oct 10, 12:18 AM
Unknown Object (File)
Thu, Oct 9, 5:24 PM
Unknown Object (File)
Wed, Oct 1, 2:19 AM
Unknown Object (File)
Sep 28 2025, 5:37 PM
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