public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle•com>
To: lkml <linux-kernel@vger•kernel.org>, linux-next@vger•kernel.org
Cc: devel@driverdev•osuosl.org, gregkh@suse•de,
	Ossama Othman <ossama.othman@intel•com>
Subject: [PATCH -next] memrar: fix printk format warning
Date: Thu, 29 Apr 2010 10:46:32 -0700	[thread overview]
Message-ID: <20100429104632.8558f75c.randy.dunlap@oracle.com> (raw)

From: Randy Dunlap <randy.dunlap@oracle•com>

Fix printk format warning in memrar:
drivers/staging/memrar/memrar_handler.c:393: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
Cc: Ossama Othman <ossama.othman@intel•com>
---
 drivers/staging/memrar/memrar_handler.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100429.orig/drivers/staging/memrar/memrar_handler.c
+++ linux-next-20100429/drivers/staging/memrar/memrar_handler.c
@@ -390,7 +390,7 @@ static int memrar_init_rar_resources(cha
 			(unsigned long) low,
 			(unsigned long) high);
 
-		pr_info("%s: BRAR[%d] size = %u KiB\n",
+		pr_info("%s: BRAR[%d] size = %zu KiB\n",
 			devname,
 			z,
 			rar->allocator->capacity / 1024);

                 reply	other threads:[~2010-04-29 17:46 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=20100429104632.8558f75c.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle$(echo .)com \
    --cc=devel@driverdev$(echo .)osuosl.org \
    --cc=gregkh@suse$(echo .)de \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=ossama.othman@intel$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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