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)
Feb 13 2024, 10:16 PM
Unknown Object (File)
Dec 20 2023, 5:54 AM
Unknown Object (File)
Dec 12 2023, 3:22 PM
Unknown Object (File)
Nov 25 2023, 12:27 PM
Unknown Object (File)
Nov 23 2023, 8:34 AM
Unknown Object (File)
Jun 26 2023, 1:39 PM
Unknown Object (File)
May 2 2023, 6:19 AM
Unknown Object (File)
Apr 19 2023, 12:27 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 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.