Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2229593pxj; Sat, 22 May 2021 15:40:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3xG+x+fz3ANXgkJyyDlCzpSnOlS+MhJs2S+Swfxu2+p+5NT6hKmDL1REdPiz4phLr0ZIb X-Received: by 2002:a17:906:15c7:: with SMTP id l7mr16729722ejd.167.1621723203777; Sat, 22 May 2021 15:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621723203; cv=none; d=google.com; s=arc-20160816; b=Ev7D4SLOSM7lOllanPvX4uXQR859UvQ6MstTMxCcN+a1XOfC3WDURrKI9ldmIs7olL IPy+4Q6e3q64HUU9xjmeLKApD9LDMKPxnAIJOwm8EFfahu6qIb5Y7nns4ghXoXwlQmGL 55atR0AOlUvac/Hxs6wvlrFqVBjFss/AcBtO3f8oNj4I0nGLpvpv/o5xZdRAU1L0pExo 62mf9esbUBY2w+raum8K46MaGmvbMJuuHiT+V8jXwzGF+XwvL3qdM18mFxLRf2iriJFn 4+HanHbPGV0cfoIwe36bCzQ6COQLlLoenBbigFuozUa4m3aduZdjwjS/v0jfej8hXDt5 1qWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=AMyHvJOEtytNH2+yWRjhusgjcGDa6oB0m6yDuB/Tg9I=; b=roVWhV1wyeGU0m7Y1AMYvw2NhEWUWYFDCD12gnvew+E7FfWf+8cFev/7x1YQUmBwQF 9NHTy2RSqqcqmpsppwI2HYudWJPmU10xo5tUOPpkl6N+3VDhPNY+4+LiBtRlC7dm4M6D xx2IJ/fmADHcne3szjAPGQqkKTe/DG4TxKRAxE7GA3rPaSLICOhiH4Lb7L1lpmMQGYjB E2q9qCLmui16PpLCfbnK6nhY5JTy88sLC3daG3GDIdL0hYPUiquo1TfA/FCHirq38au3 jJTgmZwX38JgxWKmbSnSDQfTIZUdfgf2oExodAoN1gc+YA2Z2F4BHCW7vDtEL/REw4CR Kt4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y3si3196863edp.547.2021.05.22.15.39.38; Sat, 22 May 2021 15:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231451AbhEVWip (ORCPT + 99 others); Sat, 22 May 2021 18:38:45 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:47670 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231433AbhEVWip (ORCPT ); Sat, 22 May 2021 18:38:45 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 43FA62ABE7; Sat, 22 May 2021 18:37:16 -0400 (EDT) Date: Sun, 23 May 2021 08:37:15 +1000 (AEST) From: Finn Thain To: Hui Tang cc: jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 11/24] scsi: sun3_scsi: remove leading spaces before tabs In-Reply-To: <1621672648-39955-12-git-send-email-tanghui20@huawei.com> Message-ID: <4bd6db59-414-221f-a8bc-49645511d56b@nippy.intranet> References: <1621672648-39955-1-git-send-email-tanghui20@huawei.com> <1621672648-39955-12-git-send-email-tanghui20@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Is there a reason why your regexp is anchored? I thought spaces before any tab would be undesirable. > Cc: Finn Thain > Signed-off-by: Hui Tang > --- > 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; > > } > >