From: Randy Dunlap <randy.dunlap@oracle.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Andres Salomon <dilinger@debian.org>, akpm <akpm@linux-foundation.org>
Subject: [PATCH -mmotm] gpio: fix cs553x printk format
Date: Mon, 9 Mar 2009 16:26:20 -0700 [thread overview]
Message-ID: <20090309162620.cab7b3bd.randy.dunlap@oracle.com> (raw)
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix printk format warning:
drivers/gpio/cs553x-gpio.c:193: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'resource_size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/gpio/cs553x-gpio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- mmotm-2009-0306-1659.orig/drivers/gpio/cs553x-gpio.c
+++ mmotm-2009-0306-1659/drivers/gpio/cs553x-gpio.c
@@ -190,8 +190,8 @@ static int __init cs553x_gpio_probe(stru
cs553x_gpio_chip.pdev = pdev;
spin_lock_init(&cs553x_gpio_chip.lock);
- dev_info(&pdev->dev, "allocated PCI BAR #%d: base 0x%x\n", GPIO_BAR,
- cs553x_gpio_chip.base);
+ dev_info(&pdev->dev, "allocated PCI BAR #%d: base 0x%llx\n", GPIO_BAR,
+ (unsigned long long)cs553x_gpio_chip.base);
/* finally, register with the generic GPIO API */
err = gpiochip_add(&cs553x_gpio_chip.chip);
reply other threads:[~2009-03-09 23:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090309162620.cab7b3bd.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=dilinger@debian.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®