[PATCH -next] misc/eeprom: fix at24 printk format

From: Randy Dunlap
Date: Fri Nov 27 2009 - 01:23:28 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix printk format warning:

drivers/misc/eeprom/at24.c:230: warning: format '%zd' expects type 'signed size_t', but argument 6 has type 'int'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Wolfram Sang <w.sang@xxxxxxxxxxxxxx>
Cc: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
---
drivers/misc/eeprom/at24.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20091126.orig/drivers/misc/eeprom/at24.c
+++ linux-next-20091126/drivers/misc/eeprom/at24.c
@@ -227,7 +227,7 @@ static ssize_t at24_eeprom_read(struct a
if (status == 2)
status = count;
}
- dev_dbg(&client->dev, "read %zu@%d --> %zd (%ld)\n",
+ dev_dbg(&client->dev, "read %zu@%d --> %d (%ld)\n",
count, offset, status, jiffies);

if (status == count)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/