Messages in this thread | | | Date | Fri, 9 Apr 2021 17:27:28 +1000 | From | Herbert Xu <> | Subject | Re: [PATCH] crypto: api - fix coding style |
| |
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@huawei.com> > --- > 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@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |