summaryrefslogtreecommitdiff
path: root/drivers/crypto/hisilicon
diff options
context:
space:
mode:
authorKai Ye <yekai13@huawei.com>2022-01-22 11:13:12 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-01-31 03:21:45 +0300
commit498382593c7c90eb81111d315eeecba9508ddf58 (patch)
treec082616d503ad95e4f24df406c9319332c7e43ca /drivers/crypto/hisilicon
parent566f060f5453e906dd4195c7e94f1fd25d2c99bb (diff)
downloadlinux-498382593c7c90eb81111d315eeecba9508ddf58.tar.xz
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/hisilicon')
-rw-r--r--drivers/crypto/hisilicon/sec2/sec_crypto.c2
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;
}