Commit 49838259 authored by Kai Ye's avatar Kai Ye Committed by Herbert Xu

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: default avatarKai Ye <yekai13@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 566f060f
...@@ -240,7 +240,7 @@ static void sec_req_cb(struct hisi_qp *qp, void *resp) ...@@ -240,7 +240,7 @@ static void sec_req_cb(struct hisi_qp *qp, void *resp)
if (unlikely(type != type_supported)) { if (unlikely(type != type_supported)) {
atomic64_inc(&dfx->err_bd_cnt); atomic64_inc(&dfx->err_bd_cnt);
pr_err("err bd type [%d]\n", type); pr_err("err bd type [%u]\n", type);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment