Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1783428pxj; Sat, 22 May 2021 01:46:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyv7LBjZgfC4JR0UC6BjR95mlll+meIxRu345aWouKS8yjGzBD8KRn4V3JsXxHiukTuMx87 X-Received: by 2002:a17:906:5a83:: with SMTP id l3mr14038066ejq.50.1621673185141; Sat, 22 May 2021 01:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621673185; cv=none; d=google.com; s=arc-20160816; b=vt4bUVvJZsCu7qM1hhXNXXDiGcLtzGug961p/5dGoC14r6PFc52Uw8fNhchfdyCynY KVgHF6pnSuuBISumD0kKDXnL/7ASipjXWGu5TjvdR1UoqQX0Ri9d8muk4W0H8aekgDfl Fecsoi1FYw+wJWvs3qoKWTxLm187STXP1iz9ScH7ebKUySTvXXAtdqM2Ve4kWAdhwv6C 0H0fcSiUWm86arRmp0I+LvueroN+A5a3AK7HabFPqqOB4r9pZKdJ5lbkNx2pWcRmZX8x hGSt2or3gvXQDmP7HiKNTwxdi9YSdOvcDrgaBeHFnXJQ0M0ZlTncYUEpNPe6IlV1J8jS /8Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=AxrUCy+xxiaT75D7sdMDnZ76XLKy/q/yWT2iX5of1YI=; b=qG2N2TkrYZgNHiSTUUKwl2dXQBsw3V6fPTXzWqSHTy/1jIqlD1u4zIsVWIVdr1tRQf klHjUxvq7LXcvSzANEd8lo2uemWso6XHh/brTxZu57TLDGRp/UX//U3Xib5yoQD5bCyl m+eXY2aQSYWBd64dkw+EGqSpXrYvgc6q75KODnrYHtpy3tpexbf5XnbyVDCefbvPtyjq WuOBY+jIj6YG+O8BEVrKL7t4eG4Q5rlEkX8I8r9EX8GT/iLTEspPT3adW8FJ98yWSj3W cUten7a1ZZ4b+bF0R/xGY0u5HM8dfmUk2TuKIRv4FEWmrReyU/A+QC6okNGPrDJd8utN 1hRA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si7486976eja.751.2021.05.22.01.46.02; Sat, 22 May 2021 01:46:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231284AbhEVImd (ORCPT + 99 others); Sat, 22 May 2021 04:42:33 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5663 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbhEVImH (ORCPT ); Sat, 22 May 2021 04:42:07 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FnH0x1wWtz1BPyG; Sat, 22 May 2021 16:37:53 +0800 (CST) Received: from dggemi760-chm.china.huawei.com (10.1.198.146) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Sat, 22 May 2021 16:40:41 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi760-chm.china.huawei.com (10.1.198.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 22 May 2021 16:40:41 +0800 From: Hui Tang To: , CC: , , , Oliver Neukum Subject: [PATCH 23/24] scsi: dc395x: remove leading spaces before tabs Date: Sat, 22 May 2021 16:37:27 +0800 Message-ID: <1621672648-39955-24-git-send-email-tanghui20@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1621672648-39955-1-git-send-email-tanghui20@huawei.com> References: <1621672648-39955-1-git-send-email-tanghui20@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggemi760-chm.china.huawei.com (10.1.198.146) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/' Cc: Oliver Neukum Signed-off-by: Hui Tang --- drivers/scsi/dc395x.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index be87d5a..ccdbbf9 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c @@ -724,10 +724,10 @@ static struct DeviceCtlBlk *dcb_get_next(struct list_head *head, } /* if no next one take the head one (ie, wraparound) */ if (!next) - list_for_each_entry(i, head, list) { - next = i; - break; - } + list_for_each_entry(i, head, list) { + next = i; + break; + } return next; } @@ -4370,13 +4370,13 @@ static int adapter_init(struct AdapterCtlBlk *acb, unsigned long io_port, /* get eeprom configuration information and command line settings etc */ check_eeprom(&acb->eeprom, io_port); - print_eeprom_settings(&acb->eeprom); + print_eeprom_settings(&acb->eeprom); /* setup adapter control block */ adapter_init_params(acb); /* display card connectors/termination settings */ - adapter_print_config(acb); + adapter_print_config(acb); if (adapter_sg_tables_alloc(acb)) { dprintkl(KERN_DEBUG, "Memory allocation for SG tables failed\n"); @@ -4641,12 +4641,12 @@ static int dc395x_init_one(struct pci_dev *dev, const struct pci_device_id *id) dprintkl(KERN_INFO, "scsi_host_alloc failed\n"); goto fail; } - acb = (struct AdapterCtlBlk*)scsi_host->hostdata; - acb->scsi_host = scsi_host; - acb->dev = dev; + acb = (struct AdapterCtlBlk*)scsi_host->hostdata; + acb->scsi_host = scsi_host; + acb->dev = dev; /* initialise the adapter and everything we need */ - if (adapter_init(acb, io_port_base, io_port_len, irq)) { + if (adapter_init(acb, io_port_base, io_port_len, irq)) { dprintkl(KERN_INFO, "adapter init failed\n"); goto fail; } @@ -4660,7 +4660,7 @@ static int dc395x_init_one(struct pci_dev *dev, const struct pci_device_id *id) } pci_set_drvdata(dev, scsi_host); scsi_scan_host(scsi_host); - + return 0; fail: -- 2.8.1