Skip to content

Commit

Permalink
[PATCH] parport_serial: printk warning fix
Browse files Browse the repository at this point in the history
drivers/parport/parport_serial.c: In function `parport_register':
drivers/parport/parport_serial.c:334: warning: unsigned int format, different type arg (arg 3)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Feb 3, 2006
1 parent d35c602 commit f4f64e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/parport/parport_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ static int __devinit parport_register (struct pci_dev *dev,

if (priv->num_par == ARRAY_SIZE (priv->port)) {
printk (KERN_WARNING
"parport_serial: %s: only %u parallel ports "
"parport_serial: %s: only %zu parallel ports "
"supported (%d reported)\n", pci_name (dev),
ARRAY_SIZE (priv->port), card->numports);
ARRAY_SIZE(priv->port), card->numports);
break;
}

Expand Down

0 comments on commit f4f64e9

Please sign in to comment.