git: kernel/wlan: Fix up the MAC address printing and add back __printflike()s.
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed Feb 18 18:36:25 PST 2015
commit f92fae3f378c099365aa8c389f681ba1ebba5e74
Author: Sascha Wildner <saw at online.de>
Date: Thu Feb 19 03:18:11 2015 +0100
kernel/wlan: Fix up the MAC address printing and add back __printflike()s.
In the recent wlan, iwn and ath upgrades, porting this properly was hacked
around by removing the __printflike()s because DragonFly has no support
for %D (neither in GCC nor in kprintf()). This is wrong because even
though it silences the warning, it will still not print MAC addresses
correctly. So bring all that back.
Also update the wlan's README.DRAGONFLY with some information about how
to port this properly.
Summary of changes:
sys/ddb/ddb.h | 6 +-
sys/dev/netif/ath/ath/if_ath.c | 101 ++++++++-------------
sys/dev/netif/ath/ath/if_ath_debug.h | 17 +---
sys/dev/netif/ath/ath/if_ath_tx.c | 130 +++++++++++++---------------
sys/dev/netif/ath/ath/if_athvar.h | 1 -
sys/dev/netif/ath/ath_rate/sample/sample.c | 6 +-
sys/dev/netif/iwn/if_iwn.c | 19 +---
sys/dev/netif/iwn/if_iwnvar.h | 2 -
sys/netproto/802_11/README.DRAGONFLY | 14 +--
sys/netproto/802_11/ieee80211_var.h | 18 ++--
sys/netproto/802_11/wlan/ieee80211_ddb.c | 5 +-
sys/netproto/802_11/wlan/ieee80211_hwmp.c | 104 +++++++++++-----------
sys/netproto/802_11/wlan/ieee80211_mesh.c | 14 +--
sys/netproto/802_11/wlan/ieee80211_output.c | 8 +-
sys/netproto/802_11/wlan/ieee80211_scan.c | 2 +-
sys/netproto/802_11/wlan/ieee80211_sta.c | 5 +-
16 files changed, 196 insertions(+), 256 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f92fae3f378c099365aa8c389f681ba1ebba5e74
--
DragonFly BSD source repository
More information about the Commits
mailing list