summaryrefslogtreecommitdiff
path: root/drivers/crypto/hisilicon/qm.h
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2021-02-05 18:12:58 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 17:56:01 +1100
commit4cf0806ee92a8820f630c2e1ba4479575e393bf3 (patch)
tree87568cffde4116533eb8eceb3e53a24b4bdbc533 /drivers/crypto/hisilicon/qm.h
parent1db0016e0d223b644d2c77a4569e8939f5c55a7c (diff)
downloadlwn-4cf0806ee92a8820f630c2e1ba4479575e393bf3.tar.gz
lwn-4cf0806ee92a8820f630c2e1ba4479575e393bf3.zip
crypto: hisilicon/qm - fix printing format issue
This patch fixes inconsistent of printing format with argument type. Signed-off-by: Weili Qian <qianweili@huawei.com> Reviewed-by: Zaibo Xu <xuzaibo@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/qm.h')
-rw-r--r--drivers/crypto/hisilicon/qm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/qm.h b/drivers/crypto/hisilicon/qm.h
index af47b76f4747..54967c6b9c78 100644
--- a/drivers/crypto/hisilicon/qm.h
+++ b/drivers/crypto/hisilicon/qm.h
@@ -307,7 +307,7 @@ static inline int q_num_set(const char *val, const struct kernel_param *kp,
if (!pdev) {
q_num = min_t(u32, QM_QNUM_V1, QM_QNUM_V2);
- pr_info("No device found currently, suppose queue number is %d\n",
+ pr_info("No device found currently, suppose queue number is %u\n",
q_num);
} else {
if (pdev->revision == QM_HW_V1)