projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
566f060
)
crypto: hisilicon/sec - use the correct print format
author
Kai Ye
<yekai13@huawei.com>
Sat, 22 Jan 2022 08:13:12 +0000
(16:13 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 31 Jan 2022 00:21:45 +0000
(11:21 +1100)
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>
drivers/crypto/hisilicon/sec2/sec_crypto.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/hisilicon/sec2/sec_crypto.c
b/drivers/crypto/hisilicon/sec2/sec_crypto.c
index
7013272
..
8caba9f
100644
(file)
--- 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;
}