From 11465f6a7d43f3584fa6ee4a619a25d944c7af8d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 7 Oct 2010 16:38:43 -0700 Subject: [PATCH] Staging: brcm80211: wl_cfg80211.c: fix compiler warnings size_t should be '%zd' in a printf, not '%d' Cc: Brett Rudley Cc: Henry Ptasinski Cc: Nohee Ko Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c index 62f8e09aaaf..b66730c6f85 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c @@ -1334,7 +1334,7 @@ wl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, WL_DBG(("channel (%d), center_req (%d)\n", wl->channel, chan->center_freq)); } - WL_DBG(("ie (%p), ie_len (%d)\n", sme->ie, sme->ie_len)); + WL_DBG(("ie (%p), ie_len (%zd)\n", sme->ie, sme->ie_len)); err = wl_set_wpa_version(dev, sme); if (unlikely(err)) return err; @@ -4031,7 +4031,7 @@ void *wl_cfg80211_request_fw(s8 *file_name) set_bit(WL_FW_LOADING_DONE, &wl->fw->status); fw_entry = wl->fw->fw_entry; if (fw_entry) { - WL_DBG(("fw size (%d), data (%p)\n", fw_entry->size, + WL_DBG(("fw size (%zd), data (%p)\n", fw_entry->size, fw_entry->data)); } } else if (!test_bit(WL_NVRAM_LOADING_DONE, &wl->fw->status)) { @@ -4044,7 +4044,7 @@ void *wl_cfg80211_request_fw(s8 *file_name) set_bit(WL_NVRAM_LOADING_DONE, &wl->fw->status); fw_entry = wl->fw->fw_entry; if (fw_entry) { - WL_DBG(("nvram size (%d), data (%p)\n", fw_entry->size, + WL_DBG(("nvram size (%zd), data (%p)\n", fw_entry->size, fw_entry->data)); } } else { -- 2.39.5