summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-08-04 09:35:32 -0500
committerMartin L Roth <gaumless@gmail.com>2023-08-06 19:15:01 +0000
commitb33778e71fe183b1f51904119d35f721a411c8ae (patch)
tree17815c39970f997f61108f8e8224fe25b42dc230 /src/soc/intel
parent13b2427f5e05d899fcd2b9d71af9237f0e947093 (diff)
soc/intel/common/block/tcss: Fix printk formatting
Variable 'i' is unsigned, so use %zu vs %zd. Change-Id: I5f5b28796b30285e81a94c37e686a9e763cab204 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76943 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/tcss/tcss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c
index a0ecb5f00e..23427b444e 100644
--- a/src/soc/intel/common/block/tcss/tcss.c
+++ b/src/soc/intel/common/block/tcss/tcss.c
@@ -321,20 +321,20 @@ static void tcss_configure_dp_mode(const struct tcss_port_map *port_map, size_t
ret = send_pmc_connect_request(i, &mux_info, port_info);
if (ret) {
- printk(BIOS_ERR, "Port %zd connect request failed\n", i);
+ printk(BIOS_ERR, "Port %zu connect request failed\n", i);
continue;
}
ret = send_pmc_safe_mode_request(i, &mux_info, port_info);
if (ret) {
- printk(BIOS_ERR, "Port %zd safe mode request failed\n", i);
+ printk(BIOS_ERR, "Port %zu safe mode request failed\n", i);
continue;
}
ret = send_pmc_dp_mode_request(i, &mux_info, port_info);
if (ret) {
- printk(BIOS_ERR, "Port C%zd mux set failed with error %d\n", i, ret);
+ printk(BIOS_ERR, "Port C%zu mux set failed with error %d\n", i, ret);
} else {
- printk(BIOS_INFO, "Port C%zd is configured to DP mode!\n", i);
+ printk(BIOS_INFO, "Port C%zu is configured to DP mode!\n", i);
return;
}
}