diff options
author | Furquan Shaikh <furquan@google.com> | 2014-07-22 11:12:15 -0700 |
---|---|---|
committer | Marc Jones <marc.jones@se-eng.com> | 2015-01-16 20:49:55 +0100 |
commit | 251eef19263809f42fe260431944261c8be2c252 (patch) | |
tree | a5e37eb7f74b85146adf385235a0c0c00fa3df10 /src/drivers/i2c/tpm/tis.c | |
parent | c1f5a2e3643be9128448c8557ed1a62437602d69 (diff) |
coreboot tpm: Fix printk format specifiers
BUG=None
BRANCH=None
TEST=Compiles successfully
Original-Change-Id: I828776724dce287d9a7eb732f2c9ecccf8d68229
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/209336
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
(cherry picked from commit b50c9441ddaeabc5aa039f2141853ed7ba7a9d5b)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: I6e81312609448c531345e592ee371ea53dc0916c
Reviewed-on: http://review.coreboot.org/8221
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/i2c/tpm/tis.c')
-rw-r--r-- | src/drivers/i2c/tpm/tis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/tpm/tis.c b/src/drivers/i2c/tpm/tis.c index 49bcdd7049..696634d9d7 100644 --- a/src/drivers/i2c/tpm/tis.c +++ b/src/drivers/i2c/tpm/tis.c @@ -145,7 +145,7 @@ out_recv: rc = chip->vendor.recv(chip, (uint8_t *) buf, TPM_BUFSIZE); if (rc < 0) - printk(BIOS_DEBUG, "tpm_transmit: tpm_recv: error %zd\n", rc); + printk(BIOS_DEBUG, "tpm_transmit: tpm_recv: error %d\n", rc); out: return rc; } |