Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp390514pxf; Thu, 8 Apr 2021 05:27:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyORzUZqIae9svk0z+z+urwScNBtheIwO75ywFXaNMol/9BZ7opzOosTnpWS8bCw5QXDcJn X-Received: by 2002:a62:cfc4:0:b029:200:49d8:6f29 with SMTP id b187-20020a62cfc40000b029020049d86f29mr7024650pfg.45.1617884833543; Thu, 08 Apr 2021 05:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617884833; cv=none; d=google.com; s=arc-20160816; b=WtLuGKClA0zpnX3iAWAQQ7jftKnn/CJCJPvaIPmGqgatNcaa9O03YZJ2MlxwPbYqbA OANbpjaLdndaxp8KiTLeqewCfp0qkJLHo+J51vDYRPklzNe1jTWmia+DeL7AV+vbb1B5 R1O/JrFjfxTaitijSEv3t22nnhN/gf/gRxvynzOvyJ0jdxHjqNwWZhxDMafFI7GbIdhd elWOFzss27OzEWrHok3zYvj+1j11an9zv/RdcyGFHi2lb+OCudE4HF4qhRVbOHVQZdN0 Fk/YiTqCI+bEh1pzKBwIjsgrD2GP/Dhcrf0hkRRdvd9X/DwJ56G1t4bn2HkhdY1LWwoH dGIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=8vh+jOBApstTu83vgvMzQdtVS4q/aPfmiBT5zd/2tPQ=; b=GWygFPa9q5bjCNwzC+PV1uCWVZ7pLYA9rG4BuPuuy9OZvi1zGNwVL2CbaBmwevfB0r IAYG9sNwjTLVns58abseeyj12zhAYBysu2BZtQh/74n+UOXgGECyacrHnca6sgF93esO YbNQFlUhHfvy3p9VwRne34AQpXSk6C7KJ2yyDRHIObKLOPoeRZ9RsJLqTG65diaH6HFO KU8xpvxhUBNdAoxxxnSwYd//J/KOsXGmG+nzYVtfU7FkLuCN1VLLtiLpbCLj9v8BTBNT oeLS+hGJ5O+x8+HA00Wf8ZovrKUh+RsfIdLuju7PQ2Oagtll8+usJKLWbDQ7DXXc3Dpl yDeA== 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 g12si9428125pjl.159.2021.04.08.05.26.58; Thu, 08 Apr 2021 05:27:13 -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 S230449AbhDHM0T (ORCPT + 99 others); Thu, 8 Apr 2021 08:26:19 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:16048 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230434AbhDHM0S (ORCPT ); Thu, 8 Apr 2021 08:26:18 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FGL5K6l9XzNtyT; Thu, 8 Apr 2021 20:23:17 +0800 (CST) Received: from [127.0.0.1] (10.40.192.131) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 20:25:58 +0800 Subject: Re: [PATCH v2 0/2] scsi: pm8001: tiny clean up patches To: , , CC: , , References: <1617790059-43125-1-git-send-email-luojiaxing@huawei.com> From: luojiaxing Message-ID: Date: Thu, 8 Apr 2021 20:25:58 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1617790059-43125-1-git-send-email-luojiaxing@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.40.192.131] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A reply to v1 cause v2 code need to be modified, so please ignore this, and directly check v3 later. Thanks Jiaxing On 2021/4/7 18:07, Luo Jiaxing wrote: > Several error is reported by checkpatch.pl, here are two patches to clean > them up. > > --- > v1->v2: > 1. modify AAP1_MEMMAP() to inline function > 2. set flash_command_table and flash_error_table as const > --- > > Luo Jiaxing (2): > scsi: pm8001: clean up for white space > scsi: pm8001: clean up for open brace > > drivers/scsi/pm8001/pm8001_ctl.c | 26 +++++++++++--------------- > drivers/scsi/pm8001/pm8001_ctl.h | 5 +++++ > drivers/scsi/pm8001/pm8001_hwi.c | 14 +++++++------- > drivers/scsi/pm8001/pm8001_sas.c | 20 ++++++++++---------- > drivers/scsi/pm8001/pm8001_sas.h | 2 +- > drivers/scsi/pm8001/pm80xx_hwi.c | 14 +++++++------- > 6 files changed, 41 insertions(+), 40 deletions(-) >