Re: [PATCH] crypto: api - fix coding style

From: songzhiqi (A)
Date: Fri Apr 09 2021 - 05:00:08 EST




On 2021/4/9 15:27, Herbert Xu wrote:
> 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,
>
OK, I will split this patch.
Thanks.