提交 4532f1cf 编写于 作者: H Herbert Xu

crypto: artpec6 - Fix printk warning on size_t/%d

Switch to %zu instead of %d for printing size_t.
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Acked-by: NJesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 33837be3
......@@ -1712,7 +1712,7 @@ static int artpec6_crypto_prepare_crypto(struct skcipher_request *areq)
cipher_len = regk_crypto_key_256;
break;
default:
pr_err("%s: Invalid key length %d!\n",
pr_err("%s: Invalid key length %zu!\n",
MODULE_NAME, ctx->key_length);
return -EINVAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册