[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4bd6db59-414-221f-a8bc-49645511d56b@nippy.intranet>
Date: Sun, 23 May 2021 08:37:15 +1000 (AEST)
From: Finn Thain <fthain@...egraphics.com.au>
To: Hui Tang <tanghui20@...wei.com>
cc: jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 11/24] scsi: sun3_scsi: remove leading spaces before
tabs
On Sat, 22 May 2021, Hui Tang wrote:
> There are a few leading spaces before tabs and remove it by running
> the following commard:
>
> $ find . -name '*.[ch]' | xargs sed -r -i 's/^[ ]+\t/\t/'
>
Acked-by: Finn Thain <fthain@...egraphics.com.au>
Is there a reason why your regexp is anchored? I thought spaces before any
tab would be undesirable.
> Cc: Finn Thain <fthain@...egraphics.com.au>
> Signed-off-by: Hui Tang <tanghui20@...wei.com>
> ---
> drivers/scsi/sun3_scsi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c
> index 2e3fbc2..6125ed3 100644
> --- a/drivers/scsi/sun3_scsi.c
> +++ b/drivers/scsi/sun3_scsi.c
> @@ -304,7 +304,7 @@ static int sun3scsi_dma_setup(struct NCR5380_hostdata *hostdata,
> sun3_udc_write(UDC_INT_ENABLE, UDC_CSR);
> #endif
>
> - return count;
> + return count;
>
> }
>
>
Powered by blists - more mailing lists