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

Commit 2f6ee1ec authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smp2p: Use correct printk format specifier for size_t



%zu is the correct printk format specifier when printing size_t types.

Update printks to use %zu for size_t type variables.

Change-Id: I1146c2da061582f3ae6a583712d978f478162066
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 9f04b35f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -943,7 +943,7 @@ static struct smp2p_smem __iomem *smp2p_in_validate_size_v0(int remote_pid,

	if (size < sizeof(struct smp2p_smem)) {
		SMP2P_ERR(
			"%s pid %d item size too small; expected: %d actual: %d\n",
			"%s pid %d item size too small; expected: %zu actual: %d\n",
			__func__, remote_pid,
			sizeof(struct smp2p_smem), size);
		smem_item = NULL;