Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp415879pxf; Thu, 8 Apr 2021 05:57:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi61cfqgBK+YeDVSWB0sNmWjP4r7tdoWIGdB7H0XRVz8YMgXAoCLNRvY+LJ2gJWMqeP7PL X-Received: by 2002:a17:907:6289:: with SMTP id nd9mr10107859ejc.384.1617886656891; Thu, 08 Apr 2021 05:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617886656; cv=none; d=google.com; s=arc-20160816; b=1CyyGSfK9U9cKEp9qrAnwuN/j6O6uHaM1S/CssqB7Efun4Y09hIaWEJ5qoigYyTPqV nlP4H9739kJEEAPc1uSymW0S52Le6Rnx+47lGTgdzYBsz4olVfnY07ciRKuIPHcV/yos QSYnd1TTz8xQZlKtO++fjZ/Otug72AMc/W8W0xqXX6QItOIxNLLaDkVfZOLneNQX+jF+ 3oLwwAzJlbqGf8fwpub+krOggrx95IKkjULCHmin9JHO3imnCGUKQygiA2/F0/ms5SNz E+8OUXjvrnTFtGLcSxXu39bfjd9hnrLLAW7GBXZUGKS2TZixLSWrklw9wcPTfvPOjrcT fu9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Fhra4tqAiHKewBtxCCya9KXAweTd8+fsTXM7P1bEwM8=; b=0L26qh6Bp6dp5BQChi20eDUkA8OFrEDwwdtTqhz2TAdHQxmwoRk1U/ewbHrPENAKpy ZtlngQQYWd+qmX8sPvjwitdUYWtQTM0jm8JEeDTtPioYHSeiJRC1NbOZ3jP1CqDk6A9a Lzu+MP6u2gLPHdsdW2ZHzpbrDbGwXIJgw9LXanUpjrG6BH3T8fIFbYwMfOmJmCzRb0qT uR/yOwXWs4uhdcXC4IsBzoGi5xaPcwtZMpmdC77yE0uA9/DFQeLVqE1/t0PTe9kjacfe rr3hhSESgi148XSLUr42ok4DH+v3lEHqVe2B1Z08QBPePNUO7Cv4RR8X3EaA3PAVWz/E gojQ== 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 m13si22970769edd.35.2021.04.08.05.57.13; Thu, 08 Apr 2021 05:57:36 -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 S231537AbhDHM4b (ORCPT + 99 others); Thu, 8 Apr 2021 08:56:31 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:16409 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbhDHM41 (ORCPT ); Thu, 8 Apr 2021 08:56:27 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FGLnH3hlYzkjPN; Thu, 8 Apr 2021 20:54:27 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 20:56:08 +0800 From: Luo Jiaxing To: , , CC: , , , Subject: [PATCH v3 0/2] scsi: pm8001: tiny clean up patches Date: Thu, 8 Apr 2021 20:56:31 +0800 Message-ID: <1617886593-36421-1-git-send-email-luojiaxing@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 v2->v3: 1. use lower case names for AAP1_MEMMAP --- 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(-) -- 2.7.4