public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: akpm@linux-foundation.org, Anatolij Gustschin <agust@denx.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH -mmotm] misc: fix eeprom printk format
Date: Sun, 10 Jul 2011 11:44:03 -0700	[thread overview]
Message-ID: <20110710114403.b14120eb.randy.dunlap@oracle.com> (raw)
In-Reply-To: <201107082028.p68KSWWf013053@imap1.linux-foundation.org>

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

drivers/misc/eeprom/eeprom_93xx46.c:95: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Anatolij Gustschin <agust@denx.de>
applies-to: misc-eeprom-add-driver-for-microwire-93xx46-eeproms.patch
---
 drivers/misc/eeprom/eeprom_93xx46.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- mmotm-2011-0708-1250.orig/drivers/misc/eeprom/eeprom_93xx46.c
+++ mmotm-2011-0708-1250/drivers/misc/eeprom/eeprom_93xx46.c
@@ -91,7 +91,7 @@ eeprom_93xx46_bin_read(struct file *filp
 	/* have to wait at least Tcsl ns */
 	ndelay(250);
 	if (ret) {
-		dev_err(&edev->spi->dev, "read %d bytes at %d: err. %d\n",
+		dev_err(&edev->spi->dev, "read %zu bytes at %d: err. %d\n",
 			count, (int)off, ret);
 	}
 

  reply	other threads:[~2011-07-10 18:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-08 19:50 mmotm 2011-07-08-12-50 uploaded akpm
2011-07-10 18:44 ` Randy Dunlap [this message]
2011-07-11 20:27 ` page->_count build failure [was: mmotm 2011-07-08-12-50 uploaded] Jiri Slaby
2011-07-11 20:41   ` Andrew Morton
2011-07-11 20:45     ` Pekka Enberg
2011-07-11 20:47       ` Jiri Slaby
2011-07-11 20:51         ` Pekka Enberg
2011-07-11 21:00           ` Andrew Morton
2011-07-11 21:04       ` Jiri Slaby

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=20110710114403.b14120eb.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=agust@denx.de \
    --cc=akpm@linux-foundation.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