From: Kai Ye Date: Sat, 22 Jan 2022 08:13:12 +0000 (+0800) Subject: crypto: hisilicon/sec - use the correct print format X-Git-Tag: v5.18-rc1~199^2~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=498382593c7c90eb81111d315eeecba9508ddf58;p=thirdparty%2Flinux.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c b/drivers/crypto/hisilicon/sec2/sec_crypto.c index 7013272134b2b..8caba9fd1f19c 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; }