Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;