From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
gregkh@suse.de, lud <linux-usb@vger.kernel.org>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Sebastian Siewior <bigeasy@linutronix.de>
Subject: [PATCH -next] usb: fix ips1760-hcd printk format warning
Date: Tue, 15 Mar 2011 17:09:10 -0700 [thread overview]
Message-ID: <20110315170910.9b6f1c58.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110315194543.a5d56c0c.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix printk format build warning and grammar typo on same line.
drivers/usb/host/isp1760-hcd.c:300: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/usb/host/isp1760-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20110315.orig/drivers/usb/host/isp1760-hcd.c
+++ linux-next-20110315/drivers/usb/host/isp1760-hcd.c
@@ -295,7 +295,7 @@ static void alloc_mem(struct usb_hcd *hc
}
dev_err(hcd->self.controller,
- "%s: Can not allocate %lu bytes of memory\n"
+ "%s: Cannot allocate %zu bytes of memory\n"
"Current memory map:\n",
__func__, qtd->length);
for (i = 0; i < BLOCKS; i++) {
next prev parent reply other threads:[~2011-03-16 0:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 8:45 linux-next: Tree for March 15 Stephen Rothwell
2011-03-15 15:44 ` linux-next: Tree for March 15 (xen/events.c) Randy Dunlap
2011-03-15 20:45 ` Konrad Rzeszutek Wilk
2011-03-16 0:09 ` Randy Dunlap [this message]
2011-03-16 0:11 ` [PATCH -next] sunrpc: fix printk format warning Randy Dunlap
2011-03-16 0:22 ` [PATCH -next] uml: fix tty interface warnings Randy Dunlap
2011-03-16 3:38 ` Américo Wang
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=20110315170910.9b6f1c58.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=bigeasy@linutronix.de \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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