Re: [PATCH] crypto: remove leading spaces before tabs

From: Herbert Xu
Date: Fri May 28 2021 - 03:25:41 EST


On Wed, May 19, 2021 at 01:59:44PM +0800, Hui Tang wrote:
> There are a few leading spaces before tabs and remove it by running the
> following commard:
>
> $ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
>
> At the same time, fix two warning by running checkpatch.pl:
> WARNING: suspect code indent for conditional statements (16, 16)
> WARNING: braces {} are not necessary for single statement blocks
>
> Signed-off-by: Hui Tang <tanghui20@xxxxxxxxxx>
> ---
> crypto/khazad.c | 2 +-
> crypto/wp512.c | 40 +++++++++++++++++++---------------------
> 2 files changed, 20 insertions(+), 22 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt