Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Kai Ye and committed by
Herbert Xu
49838259 566f060f

+1 -1
+1 -1
drivers/crypto/hisilicon/sec2/sec_crypto.c
··· 240 240 241 241 if (unlikely(type != type_supported)) { 242 242 atomic64_inc(&dfx->err_bd_cnt); 243 - pr_err("err bd type [%d]\n", type); 243 + pr_err("err bd type [%u]\n", type); 244 244 return; 245 245 } 246 246