diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2019-07-03 16:26:53 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-07-12 12:16:02 +0200 |
commit | 049ce1505b3a6504f4cb59148baaacc36d5c75e3 (patch) | |
tree | c032bec6e3fe425578738cc279549c7a78fedac5 /drivers/crypto/stm32/stm32-hash.c | |
parent | crypto: stm32/hash - remove interruptible condition for dma (diff) | |
download | linux-049ce1505b3a6504f4cb59148baaacc36d5c75e3.tar.xz linux-049ce1505b3a6504f4cb59148baaacc36d5c75e3.zip |
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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/stm32/stm32-hash.c')
-rw-r--r-- | drivers/crypto/stm32/stm32-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/stm32/stm32-hash.c b/drivers/crypto/stm32/stm32-hash.c index 33a0612efa57..7c81f0f234ae 100644 --- a/drivers/crypto/stm32/stm32-hash.c +++ b/drivers/crypto/stm32/stm32-hash.c @@ -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; |