Re: [PATCH] crypto: api - fix coding style
From: Herbert Xu
Date: Fri Apr 09 2021 - 03:27:39 EST
On Thu, Apr 01, 2021 at 03:20:49PM +0800, Zhiqi Song wrote:
> Fixed following checkpatch error:
> - do not use assignment in if condition
> Fixed following checkpatch warning:
> - prefer strscpy over strlcpy
> - delete repeated word
>
> Signed-off-by: Zhiqi Song <songzhiqi1@xxxxxxxxxx>
> ---
> crypto/api.c | 20 ++++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)
Please don't mix unrelated changes in a single patch.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt