Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1137344pxf; Fri, 2 Apr 2021 02:09:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXNW94Tao0VM0Af/9Mifb7bBZH6myrZIg48CM6PlWTGtuY2u0iqJCOsAKWCBxaEOsN3aa4 X-Received: by 2002:aa7:c346:: with SMTP id j6mr14457236edr.386.1617354590501; Fri, 02 Apr 2021 02:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617354590; cv=none; d=google.com; s=arc-20160816; b=o7QMvzFfM/f8B4zpPD+6UJLSVE8U2OVH/XsrEdke855OFstLSOanuBn8cM+YJMCKyc QdQhs2h+P8mfEd8r/gAf7d0BUireA3ua9XxJQj4rzREOWSt+sPdfVLWsiNh53ziJy0pI flTn1HF85gPdeB4ApxjEmKyaN1giU+xfSthWSq+U+HLE1cT3jRkaNyfTJ1eOzwaPUuYF NZmjaXhNjFYUPj7xKKyo52MijtcpcUtgC4s3z01JcgKlCg+y8pcHpTME3nW5qAt2khpx wyDJsgrIknGEABfnvRmeYtMeQrZr6/02DU7p/5Y1VuW7FBqd/bMai0GkbJWAmaldmgpk nuXg== 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=dX3HMMSShGGI5elPpjR3WA1S/yZjJkRg5DBq+D1PpOo=; b=qCx3IqyIau3XMuI0s+anSevAXBnwZKxyiybKOfK6YNTMMmSi718oOG7nOwxyrDcRTa wlX8LVMXVoj5Y4wuTejweiG8tkJcfrGSU+rRhO/05b2RHYhaUh0OmGbflt1ycKzBvsf2 WThaIEYYUuj2BHkyXduKaIDAxCdABU2kYOv621eNEbmv+rjryxhXyZG/WVnz9QZPXUyA ejywgeiuezFL+ehHKNv031VO2eK937SHleXL5i0Q1NJbGn0mIJpi7M5q6aXb+Loxx0Q3 CCxhsTLcn+Lnf3sduhQG7YE9rbNLtMLDWSUSoGpnjESrDrCfQLWsg0vEIs5OIvijIEDJ abGg== 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 w25si6504175eju.430.2021.04.02.02.09.26; Fri, 02 Apr 2021 02:09: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 S235163AbhDBJIc (ORCPT + 99 others); Fri, 2 Apr 2021 05:08:32 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15591 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235080AbhDBJI0 (ORCPT ); Fri, 2 Apr 2021 05:08:26 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FBZ0l0VWMz1BG8P; Fri, 2 Apr 2021 17:06:15 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Fri, 2 Apr 2021 17:08:13 +0800 From: Luo Jiaxing To: , , CC: , , , Subject: [PATCH v1 2/2] scsi: pm8001: clean up for open brace Date: Fri, 2 Apr 2021 17:08:42 +0800 Message-ID: <1617354522-17113-3-git-send-email-luojiaxing@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1617354522-17113-1-git-send-email-luojiaxing@huawei.com> References: <1617354522-17113-1-git-send-email-luojiaxing@huawei.com> 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 There are few error about open brace is reported by checkpatch.pl: ERROR: that open brace { should be on the previous line +static struct error_fw flash_error_table[] = +{ So fix them all. Signed-off-by: Jianqin Xie Signed-off-by: Luo Jiaxing --- drivers/scsi/pm8001/pm8001_ctl.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_ctl.c b/drivers/scsi/pm8001/pm8001_ctl.c index ffb4387..8802fe4 100644 --- a/drivers/scsi/pm8001/pm8001_ctl.c +++ b/drivers/scsi/pm8001/pm8001_ctl.c @@ -647,8 +647,7 @@ struct flash_command { int code; }; -static struct flash_command flash_command_table[] = -{ +static struct flash_command flash_command_table[] = { {"set_nvmd", FLASH_CMD_SET_NVMD}, {"update", FLASH_CMD_UPDATE}, {"", FLASH_CMD_NONE} /* Last entry should be NULL. */ @@ -659,8 +658,7 @@ struct error_fw { int err_code; }; -static struct error_fw flash_error_table[] = -{ +static struct error_fw flash_error_table[] = { {"Failed to open fw image file", FAIL_OPEN_BIOS_FILE}, {"image header mismatch", FLASH_UPDATE_HDR_ERR}, {"image offset mismatch", FLASH_UPDATE_OFFSET_ERR}, -- 2.7.4