Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp871839pxf; Wed, 7 Apr 2021 13:48:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdMVW9BwjGJx6riurnsldBqxfFfATqbSa/6zctRJEhCnZg89gdGE5tLoVU7WyAbvu6aCDB X-Received: by 2002:a05:6402:cb8:: with SMTP id cn24mr6818084edb.105.1617828530722; Wed, 07 Apr 2021 13:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617828530; cv=none; d=google.com; s=arc-20160816; b=fQxQoRezjlyIROL41erLDrq7JnN98chAPMhz8YtIL9rjsnFtBy3k8rB+/pMFjbSvVL c5JbSo1s0wsMGlviC5ASZ5eqbQHoUnJILjQe1aAWEXoXs7qIk1SwWN6AVULNYss+isjm /23Qq+aNMFnVz81zxmGzYec8RUtHXkW6/iPnQncAjqOvQ36s8EgI6EjxTdOLJ2vJahNV jzvv8ci4Er3EmTiMD+i0hwR/mJXVbvgHbwmMdplGzS+kJmjMPBGWXFR6Vl3iXAelm0CT Oc0ZaHiPXO0cR3t/Bwdecvl5Rn6FZlKf8gAW8GbIIuGXhFLeMPz1l5uS4Wrxf3wGTEqw qNWA== 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=JZ9j9NQogOeHBS0PiezXWuLEfQjtUrxSkh673l/S6d0=; b=JClHRKh2+9VRAnH3VZrJKT3F5aX70vuF0/LmVKvuW7azXrs1zkwBJsR8PEJOJh//nI COOG6kkuSZ++h+QjSDnKlP7yS5f15E/LnI26aFMu+ROckvHHbWvjeMTiGGN9I66YkZLi YMntZfcRhT8Fmxbs4evx+uy2xoFH9c+Kp/iqIdf/nVXRh+8tV9/bC09WC6QtIqdQbzds EgvbrXmKpBQqgOeG9mjguA8hhUK4yfKA9n3nVyC91mqOc3gL/ggvxsKD6rf9aJlAXvMr KShbGMhDpqgODINrIWp6ycrMkmEpYZuNHbB7QG5ug1WLJgoDER/o29yl+R3PY6q5tLp8 vpLg== 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 mb15si19790205ejb.147.2021.04.07.13.48.27; Wed, 07 Apr 2021 13:48:50 -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 S1346625AbhDGKHh (ORCPT + 99 others); Wed, 7 Apr 2021 06:07:37 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:16011 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244351AbhDGKHb (ORCPT ); Wed, 7 Apr 2021 06:07:31 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FFg3l29yrzPnXG; Wed, 7 Apr 2021 18:04:35 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Wed, 7 Apr 2021 18:07:13 +0800 From: Luo Jiaxing To: , , CC: , , , Subject: [PATCH v2 0/2] scsi: pm8001: tiny clean up patches Date: Wed, 7 Apr 2021 18:07:37 +0800 Message-ID: <1617790059-43125-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 --- 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