From: Arnaud Giersch <[email protected]>
Fix printk format strings.
Signed-off-by: Arnaud Giersch <[email protected]>
---
--- linux-2.6.16-rc1.orig/drivers/parport/probe.c 2006-01-17 08:44:47.000000000 +0100
+++ linux-2.6.16-rc1/drivers/parport/probe.c 2006-01-21 21:39:08.504248053 +0100
@@ -199,8 +199,8 @@ static ssize_t parport_read_device_id (s
if (port->physport->ieee1284.phase != IEEE1284_PH_HBUSY_DAVAIL) {
if (belen != len) {
- printk (KERN_DEBUG "%s: Device ID was %d bytes"
- " while device told it would be %d"
+ printk (KERN_DEBUG "%s: Device ID was %zu bytes"
+ " while device told it would be %u"
" bytes\n",
port->name, len, belen);
}
@@ -214,7 +214,7 @@ static ssize_t parport_read_device_id (s
if (buffer[len-1] == ';') {
printk (KERN_DEBUG "%s: Device ID reading stopped"
" before device told data not available. "
- "Current idlen %d of %d, len bytes %02X %02X\n",
+ "Current idlen %u of %u, len bytes %02X %02X\n",
port->name, current_idlen, numidlens,
length[0], length[1]);
goto done;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]