Page MenuHomeFreeBSD

iwlwifi: rtw88: rtw89: fix gcc warnings
ClosedPublic

Authored by bz on Apr 18 2023, 8:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 3:29 AM
Unknown Object (File)
Thu, Mar 5, 4:23 PM
Unknown Object (File)
Sat, Feb 28, 3:57 PM
Unknown Object (File)
Sat, Feb 28, 10:37 AM
Unknown Object (File)
Sat, Feb 28, 4:01 AM
Unknown Object (File)
Sat, Feb 28, 1:45 AM
Unknown Object (File)
Jan 31 2026, 8:07 AM
Unknown Object (File)
Jan 30 2026, 7:24 PM
Subscribers

Details

Summary

Fix -Wno-format and unused variables warnings with gcc by adopting
(to|the) FreeBSD-specific code.

Reported by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 3 days

(cherry picked from commit a7cd957c0847a4ffacc856e0e25f59d49fcf575d)

Diff Detail

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

Event Timeline

bz requested review of this revision.Apr 18 2023, 8:45 PM
jhb added inline comments.
sys/contrib/dev/iwlwifi/iwl-debug.c
52

Ah, that's cute.

This revision is now accepted and ready to land.Apr 18 2023, 9:58 PM
bz marked an inline comment as done.Apr 18 2023, 10:52 PM
bz added inline comments.
sys/contrib/dev/iwlwifi/iwl-debug.c
52

Feels silly like cheating it but allows to keep the code around as such in case I'd implement more trace_iwlwifi_* bits.

This revision was automatically updated to reflect the committed changes.
bz marked an inline comment as done.