diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-02-01 06:04:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 11:53:11 -0500 |
commit | 7ee26aa04d4dbd5e006b2f184d6028c71384681f (patch) | |
tree | 830f483bc72e1914fc827beaf32f8da15694ce6f /drivers | |
parent | 94f91def998efe3b79780f3b39b6c87d390dbe4c (diff) |
[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: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/tpm/tpm_infineon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_infineon.c b/drivers/char/tpm/tpm_infineon.c index 8198dbb7370f..ec7590951af5 100644 --- a/drivers/char/tpm/tpm_infineon.c +++ b/drivers/char/tpm/tpm_infineon.c | |||
@@ -441,7 +441,7 @@ static int __devinit tpm_inf_pnp_probe(struct pnp_dev *dev, | |||
441 | 441 | ||
442 | if ((ioh << 8 | iol) != tpm_inf.base) { | 442 | if ((ioh << 8 | iol) != tpm_inf.base) { |
443 | dev_err(&dev->dev, | 443 | dev_err(&dev->dev, |
444 | "Could not set IO-ports to %04x\n", | 444 | "Could not set IO-ports to 0x%lx\n", |
445 | tpm_inf.base); | 445 | tpm_inf.base); |
446 | release_region(tpm_inf.base, TPM_INF_PORT_LEN); | 446 | release_region(tpm_inf.base, TPM_INF_PORT_LEN); |
447 | return -EIO; | 447 | return -EIO; |