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)
Thu, Oct 24, 11:14 AM
Unknown Object (File)
Thu, Oct 24, 11:14 AM
Unknown Object (File)
Thu, Oct 24, 11:14 AM
Unknown Object (File)
Thu, Oct 24, 10:55 AM
Unknown Object (File)
Sun, Oct 20, 4:44 AM
Unknown Object (File)
Sun, Oct 20, 3:00 AM
Unknown Object (File)
Oct 5 2024, 5:39 AM
Unknown Object (File)
Oct 4 2024, 10:30 AM
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.