Skip to content

Commit

Permalink
crypto: hisilicon/sec - use the correct print format
Browse files Browse the repository at this point in the history
Use the correct print format. Printing an unsigned int value should
use %u instead of %d.

Signed-off-by: Kai Ye <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
yekai123123 authored and herbertx committed Jan 31, 2022
1 parent 566f060 commit 4983825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/hisilicon/sec2/sec_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4983825

Please sign in to comment.