HomeFreeBSD

gpio: mark INVARIANTS variables as __diagused

Description

gpio: mark INVARIANTS variables as __diagused

Fixes INVARIANTS build with Clang 15, which previously failed due to
set-but-not-used variable warnings.

Reviewed by: dim
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36097

(cherry picked from commit 7dc4d5118c0268efe48c0e36c49cba1e2a8e39fc)

Details

Provenance
emasteAuthored on Aug 9 2022, 11:30 PM
Reviewer
dim
Differential Revision
D36097: gpio: mark INVARIANTS variables as __diagused
Parents
rG9f45a241fc0d: acpi: mark INVARIANTS variables as __diagused
Branches
Unknown
Tags
Unknown