Commit 7ee26aa0 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] tpm_infineon: fix printk format warning

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: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 94f91def
...@@ -441,7 +441,7 @@ static int __devinit tpm_inf_pnp_probe(struct pnp_dev *dev, ...@@ -441,7 +441,7 @@ static int __devinit tpm_inf_pnp_probe(struct pnp_dev *dev,
if ((ioh << 8 | iol) != tpm_inf.base) { if ((ioh << 8 | iol) != tpm_inf.base) {
dev_err(&dev->dev, dev_err(&dev->dev,
"Could not set IO-ports to %04x\n", "Could not set IO-ports to 0x%lx\n",
tpm_inf.base); tpm_inf.base);
release_region(tpm_inf.base, TPM_INF_PORT_LEN); release_region(tpm_inf.base, TPM_INF_PORT_LEN);
return -EIO; return -EIO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment