HomeFreeBSD

sys/bus.h: silence warnings about write-only variables

Description

sys/bus.h: silence warnings about write-only variables

in the generated functions for bus accessors. These are the most
noising instances for drivers when non-debug kernel is compiled with
clang 13.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32578

Details

Provenance
kibAuthored on Oct 20 2021, 1:23 PM
Reviewer
imp
Differential Revision
D32578: sys/bus.h: silence warnings about write-only variables
Parents
rG2bd6d910b243: msdosfs_rename: remove write-only variables
Branches
Unknown
Tags
Unknown