Skip to content

Commit

Permalink
Staging: brcm80211: wl_cfg80211.c: fix compiler warnings
Browse files Browse the repository at this point in the history
size_t should be '%zd' in a printf, not '%d'

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Oct 7, 2010
1 parent 1a3bf74 commit 11465f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)) {
Expand All @@ -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 {
Expand Down

0 comments on commit 11465f6

Please sign in to comment.