Files
freebsd/sys/dev/thunderbolt
Olivier Certner 9a133eee1e thunderbolt: Fix INVARIANTS compilation
The problem is that THUNDERBOLT_DEBUG triggers the use of some
variables, but it is independent of INVARIANTS and the variables it uses
were tagged with '__diagused'.

Fix this by using '__maybe_unused' in those places.

Fixes:          1836330791 ("thunderbolt: make code -Wunused clean")
Fixes:          886164895f ("amd64: complete thunderbolt KERNCONF integration")
Sponsored by:   The FreeBSD Foundation
2026-06-03 17:59:57 +02:00
..
…
…
…
…
…
…
2026-06-03 17:59:57 +02:00
…
…
…
…
…
…
2026-05-09 19:47:30 +02:00