diff options
author | Kai Ye <yekai13@huawei.com> | 2022-01-22 09:13:12 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-01-31 01:21:45 +0100 |
commit | 498382593c7c90eb81111d315eeecba9508ddf58 (patch) | |
tree | c082616d503ad95e4f24df406c9319332c7e43ca /drivers/crypto | |
parent | crypto: hisilicon/sec - fix the CTR mode BD configuration (diff) | |
download | linux-498382593c7c90eb81111d315eeecba9508ddf58.tar.xz linux-498382593c7c90eb81111d315eeecba9508ddf58.zip |
crypto: hisilicon/sec - use the correct print format
Use the correct print format. Printing an unsigned int value should
use %u instead of %d.
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c b/drivers/crypto/hisilicon/sec2/sec_crypto.c index 7013272134b2..8caba9fd1f19 100644 --- a/drivers/crypto/hisilicon/sec2/sec_crypto.c +++ b/drivers/crypto/hisilicon/sec2/sec_crypto.c @@ -240,7 +240,7 @@ static void sec_req_cb(struct hisi_qp *qp, void *resp) if (unlikely(type != type_supported)) { atomic64_inc(&dfx->err_bd_cnt); - pr_err("err bd type [%d]\n", type); + pr_err("err bd type [%u]\n", type); return; } |