projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901486b
)
tpm: ibmvtpm: Use %zd formatting for size_t format arguments
author
Jason Gunthorpe
<
[email protected]
>
Sat, 14 Sep 2013 22:57:58 +0000
(16:57 -0600)
committer
Peter Huewe
<
[email protected]
>
Tue, 22 Oct 2013 17:42:25 +0000
(19:42 +0200)
This suppresses compile warnings on 32 bit builds.
Signed-off-by: Jason Gunthorpe <
[email protected]
>
Reviewed-by: Joel Schopp <
[email protected]
>
Reviewed-by: Peter Huewe <
[email protected]
>
Signed-off-by: Peter Huewe <
[email protected]
>
Acked-by: Ashley Lai <
[email protected]
>
drivers/char/tpm/tpm_ibmvtpm.c
patch
|
blob
|
history
diff --git
a/drivers/char/tpm/tpm_ibmvtpm.c
b/drivers/char/tpm/tpm_ibmvtpm.c
index 56b07c35a13e173bf1cc5d10321d30d5a11f259e..838f0431481474e571a6518601a9967ff8edf514 100644
(file)
--- a/
drivers/char/tpm/tpm_ibmvtpm.c
+++ b/
drivers/char/tpm/tpm_ibmvtpm.c
@@
-98,7
+98,7
@@
static int tpm_ibmvtpm_recv(struct tpm_chip *chip, u8 *buf, size_t count)
if (count < len) {
dev_err(ibmvtpm->dev,
- "Invalid size in recv: count=%
l
d, crq_size=%d\n",
+ "Invalid size in recv: count=%
z
d, crq_size=%d\n",
count, len);
return -EIO;
}
@@
-136,7
+136,7
@@
static int tpm_ibmvtpm_send(struct tpm_chip *chip, u8 *buf, size_t count)
if (count > ibmvtpm->rtce_size) {
dev_err(ibmvtpm->dev,
- "Invalid size in send: count=%
l
d, rtce_size=%d\n",
+ "Invalid size in send: count=%
z
d, rtce_size=%d\n",
count, ibmvtpm->rtce_size);
return -EIO;
}