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

Commit 049ce150 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: stm32/hash - Fix incorrect printk modifier for size_t



This patch fixes a warning when compiling stm32 because %d is being
used on a size_t argument instead of %zd.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f3880a23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ static int stm32_hash_xmit_cpu(struct stm32_hash_dev *hdev,

	len32 = DIV_ROUND_UP(length, sizeof(u32));

	dev_dbg(hdev->dev, "%s: length: %d, final: %x len32 %i\n",
	dev_dbg(hdev->dev, "%s: length: %zd, final: %x len32 %i\n",
		__func__, length, final, len32);

	hdev->flags |= HASH_FLAGS_CPU;