Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp341643pxf; Thu, 25 Mar 2021 05:33:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXQa4NfLLf4ZKLmX0u2zAMVYg7BZSShBWOQXhxpAo1JhWO2Pkrqzk8h4Lmo3GyrAOVZ9rA X-Received: by 2002:a50:9ea7:: with SMTP id a36mr8997154edf.174.1616675624121; Thu, 25 Mar 2021 05:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616675624; cv=none; d=google.com; s=arc-20160816; b=GFFZMUDc1AGkElsWa8Qfu3Xg/TzkJ5MrkMBJ9Qd254Hno+xQEBsm7eWz/WcAPcwazA YvbuCfcfU1R6LBgk8fjgiOmlKd643rXZ3UUm7zIv8KwEy47AQQ2xkFbxRwhfQy6jf5Kd +2twMxO7QwILykvBnYKCzQTOnfFQxk0EBBGB5Jm4UtzoLiq4wmqbxNRQicCnBHhm4EyQ g0s/w7PaYLvdUIq9alh8rsQirr+3qNVAcSCShDeyTxML7DGb9niQ7QM1AWHeTOwl9q5h 9NOkj/npiECTeSohuX44xFrsdA+192cgFm2f74RYwGU6vwYUGcxlz+bpZ0Vi2rcZ4LZV EFDQ== 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=rScODIymEy2QLSCBK3NNJvB+jxXa+pdX6eTV0AKrqSc=; b=LUFuxHu4vdWeNTBTNnpqACz9nj55WYWvKXUm/xCDrhAk3aJ7+3oq9dTeC8WJm5IVNO ia1DgAEhLd1yOKDbFX2pbDHqMJF+lyERAOzpjmIXaG63CJKHgiQwuGjWx2SmjFYozmlQ tbWA/NxzVTy1fx8Sa6z9D5Rn04tAjZhjtH3OAC1W9LV4KT0vG4mHb3pgtc7WfklCLDEo ThNCGyabfX/4hb1mJ/YQWA216xQZNjikRwlDxMmDon8SpPp5frX9wgHKX8BwCDtFVLM8 cDBkSZ+j8JHxJGAYj2WzAPFfYUWix/XMjlq9c+TmomrJWiP8+uIhCS9XyPM001oQsVgB 6ZlQ== 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 z23si3884061eju.427.2021.03.25.05.33.21; Thu, 25 Mar 2021 05:33:44 -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 S231186AbhCYM3s (ORCPT + 99 others); Thu, 25 Mar 2021 08:29:48 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14590 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbhCYM3d (ORCPT ); Thu, 25 Mar 2021 08:29:33 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F5krg4vnMz19H4N; Thu, 25 Mar 2021 20:27:31 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Thu, 25 Mar 2021 20:29:22 +0800 From: Luo Jiaxing To: , , , CC: , , , , Subject: [PATCH v1 0/2] scsi: libsas: few clean up patches Date: Thu, 25 Mar 2021 20:29:54 +0800 Message-ID: <1616675396-6108-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 Two types of errors are detected by the checkpatch. 1. Alignment between switches and cases 2. Improper use of some spaces Here are the clean up patches. Luo Jiaxing (2): scsi: libsas: make switch and case at the same indent in sas_to_ata_err() scsi: libsas: clean up for white spaces drivers/scsi/libsas/sas_ata.c | 74 ++++++++++++++++++-------------------- drivers/scsi/libsas/sas_discover.c | 2 +- drivers/scsi/libsas/sas_expander.c | 15 ++++---- 3 files changed, 43 insertions(+), 48 deletions(-) -- 2.7.4