* [PATCH] brcm80211: fix warnings in wl_check_firmwares
@ 2011-02-12 17:47 Stanislav Fomichev
2011-02-18 20:57 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Stanislav Fomichev @ 2011-02-12 17:47 UTC (permalink / raw)
To: brudley, gregkh; +Cc: linux-wireless
Use %zu instead of %d for size_t
Signed-off-by: Stanislav Fomichev <kernel@fomichev.me>
---
drivers/staging/brcm80211/sys/wl_mac80211.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/brcm80211/sys/wl_mac80211.c b/drivers/staging/brcm80211/sys/wl_mac80211.c
index 5faa521..0c87baa 100644
--- a/drivers/staging/brcm80211/sys/wl_mac80211.c
+++ b/drivers/staging/brcm80211/sys/wl_mac80211.c
@@ -1822,12 +1822,12 @@ int wl_check_firmwares(struct wl_info *wl)
WL_ERROR("%s: invalid bin/hdr fw\n", __func__);
rc = -EBADF;
} else if (fw_hdr->size % sizeof(struct wl_fw_hdr)) {
- WL_ERROR("%s: non integral fw hdr file size %d/%zu\n",
+ WL_ERROR("%s: non integral fw hdr file size %zu/%zu\n",
__func__, fw_hdr->size,
sizeof(struct wl_fw_hdr));
rc = -EBADF;
} else if (fw->size < MIN_FW_SIZE || fw->size > MAX_FW_SIZE) {
- WL_ERROR("%s: out of bounds fw file size %d\n",
+ WL_ERROR("%s: out of bounds fw file size %zu\n",
__func__, fw->size);
rc = -EBADF;
} else {
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] brcm80211: fix warnings in wl_check_firmwares
2011-02-12 17:47 [PATCH] brcm80211: fix warnings in wl_check_firmwares Stanislav Fomichev
@ 2011-02-18 20:57 ` Greg KH
2011-02-19 9:25 ` Stanislav Fomichev
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2011-02-18 20:57 UTC (permalink / raw)
To: Stanislav Fomichev, brudley, gregkh, linux-wireless
On Sat, Feb 12, 2011 at 08:47:00PM +0300, Stanislav Fomichev wrote:
> Use %zu instead of %d for size_t
>
> Signed-off-by: Stanislav Fomichev <kernel@fomichev.me>
> ---
> drivers/staging/brcm80211/sys/wl_mac80211.c | 4 ++--
This doesn't apply to linux-next as this file isn't around anymore :(
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] brcm80211: fix warnings in wl_check_firmwares
2011-02-18 20:57 ` Greg KH
@ 2011-02-19 9:25 ` Stanislav Fomichev
0 siblings, 0 replies; 3+ messages in thread
From: Stanislav Fomichev @ 2011-02-19 9:25 UTC (permalink / raw)
To: Greg KH; +Cc: brudley, gregkh, linux-wireless
> On Sat, Feb 12, 2011 at 08:47:00PM +0300, Stanislav Fomichev wrote:
> > Use %zu instead of %d for size_t
> >
> > Signed-off-by: Stanislav Fomichev <kernel@fomichev.me>
> > ---
> > drivers/staging/brcm80211/sys/wl_mac80211.c | 4 ++--
>
> This doesn't apply to linux-next as this file isn't around anymore :(
This is not relevant anymore as I see you included the other patch with
the same title (which is based on the right tree).
--
Stas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-19 9:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 17:47 [PATCH] brcm80211: fix warnings in wl_check_firmwares Stanislav Fomichev
2011-02-18 20:57 ` Greg KH
2011-02-19 9:25 ` Stanislav Fomichev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).