Page MenuHomeFreeBSD

net80211: add ##'s so debugging statements with no args work
Needs ReviewPublic

Authored by adrian on Oct 4 2021, 8:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 30 2024, 8:52 PM
Unknown Object (File)
Dec 20 2023, 4:04 AM
Unknown Object (File)
Dec 31 2022, 6:44 PM

Details

Reviewers
None
Group Reviewers
wireless
Summary

Without this, debug statements with no args can trigger macro expansion
problems.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41950
Build 38838: arc lint + arc unit

Event Timeline

adrian requested review of this revision.Oct 4 2021, 8:41 PM
jrtc27 added inline comments.
sys/net80211/ieee80211_var.h
1024–1039

should work as a way to do it in standard C (in this specific case where you don't actually need to capture _fmt, and it's at the end)