Skip to content

Commit

Permalink
[PATCH] tpm_infineon: fix printk format warning
Browse files Browse the repository at this point in the history
drivers/char/tpm/tpm_infineon.c:443: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Feb 1, 2006
1 parent 94f91de commit 7ee26aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/tpm/tpm_infineon.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ static int __devinit tpm_inf_pnp_probe(struct pnp_dev *dev,

if ((ioh << 8 | iol) != tpm_inf.base) {
dev_err(&dev->dev,
"Could not set IO-ports to %04x\n",
"Could not set IO-ports to 0x%lx\n",
tpm_inf.base);
release_region(tpm_inf.base, TPM_INF_PORT_LEN);
return -EIO;
Expand Down

0 comments on commit 7ee26aa

Please sign in to comment.