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, Dec 26, 4:52 PM
Unknown Object (File)
Dec 6 2024, 12:20 AM
Unknown Object (File)
Nov 17 2024, 12:28 PM
Unknown Object (File)
Nov 17 2024, 12:18 PM
Unknown Object (File)
Nov 17 2024, 10:42 AM
Unknown Object (File)
Oct 24 2024, 11:14 AM
Unknown Object (File)
Oct 24 2024, 11:14 AM
Unknown Object (File)
Oct 24 2024, 11:14 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 Not Applicable
Unit
Tests Not Applicable

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.