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)
Nov 25 2025, 7:52 PM
Unknown Object (File)
Nov 9 2025, 10:35 AM
Unknown Object (File)
Nov 4 2025, 4:14 PM
Unknown Object (File)
Nov 4 2025, 4:14 PM
Unknown Object (File)
Nov 4 2025, 4:09 PM
Unknown Object (File)
Oct 31 2025, 2:54 AM
Unknown Object (File)
Oct 27 2025, 8:34 PM
Unknown Object (File)
Oct 22 2025, 9:50 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.