From: Samuel Ortiz <samuel@sortiz.org>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
ilw@linux.intel.com,
"linville@tuxdriver.com" <linville@tuxdriver.com>
Subject: Re: [PATCH -next] iwmc3200wifi: fix printk format
Date: Tue, 26 May 2009 21:21:47 +0200 [thread overview]
Message-ID: <1243365707.2737.0.camel@sortiz-mobl> (raw)
In-Reply-To: <4A1C4060.5070202@oracle.com>
On Tue, 2009-05-26 at 12:17 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix printk format for size_t variable:
>
> drivers/net/wireless/iwmc3200wifi/fw.c:75: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Thanks Randy.
Cheers,
Samuel.
> Cc: ilw@linux.intel.com
> ---
> drivers/net/wireless/iwmc3200wifi/fw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20090526.orig/drivers/net/wireless/iwmc3200wifi/fw.c
> +++ linux-next-20090526/drivers/net/wireless/iwmc3200wifi/fw.c
> @@ -72,7 +72,7 @@ static int iwm_fw_op_offset(struct iwm_p
> }
>
> if (fw->size < IWM_HDR_LEN) {
> - IWM_ERR(iwm, "FW is too small (%d)\n", fw->size);
> + IWM_ERR(iwm, "FW is too small (%zu)\n", fw->size);
> return -EINVAL;
> }
>
>
prev parent reply other threads:[~2009-05-26 19:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 19:17 [PATCH -next] iwmc3200wifi: fix printk format Randy Dunlap
2009-05-26 19:21 ` Samuel Ortiz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1243365707.2737.0.camel@sortiz-mobl \
--to=samuel@sortiz.org \
--cc=ilw@linux.intel.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).