Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1783696imm; Thu, 19 Jul 2018 07:50:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfq/VxR5AV8VpAcRmCmPkjJ9H1D/YrzcYEOXqMsDP1PUVUpyzI0+DZ+9kLPhUHAO+VTzgT7 X-Received: by 2002:a63:c114:: with SMTP id w20-v6mr10253497pgf.234.1532011817865; Thu, 19 Jul 2018 07:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532011817; cv=none; d=google.com; s=arc-20160816; b=pc+rIjmqHa5WdMUNbyxyTzk1V/uJsz48D2Ddf3sS+khZ+r53Kh6MVpUxmCJi4+N9o/ gfd/AkPen7qHroZytZVeqyRYgkjQGf+jx5s/sbp05YaBQxT1yEu8ycIx4akKtopgoAWD +FGM2MYeMRuZ8g5XzIyv+jq5hmKuAHypNvE021hXA+Fsg3o84sw/sgNJaJjCVfgqbK7a 9S6t5fKVtS79UWW/JFU/WO2uyMJ/F+k51X9KQ8WeUIS6GQACF/3kzlPScoZs1Y74QFl9 ZsyJo1+8RmJhbakLuNcovvz6XEo+x1RQignpd2GGtKvsTeuKFteSBNwNrJdnyin30QaD +DHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=No1iu6JHBDrIVwBhTV7/E5sdAMYIlBLpF3kkjEszMgA=; b=hf1X0JnqeglVSiZMF2s+wjggUB/cOu/6XnNR8FQjMhH+51Td0F3hZJIAnQ6ZmAkwjL Pf1JqJaxC3jst/sAAFuLwoRLOpagCCWEUT471H2EXSj1MIuuD7T+yiBSz4X+w0aOAyiV agq22gIgpzObEHNe5ddsTkSq832JYOAQUuQPQEOHS4j1HPHQcoUU1S+nd3u1UkIdtAwS Yx/Bztj3aRoMEbkRweKU0G6T1/KseSchcMN+skTg/w9kDhzWrfo0dkEp7d7RNScse0BX NDhZjit1jxCOkXKerSMoENu8hULULMl0C/c/hGC5ZWsN+VK0ZZjvA3raQm0GpIZYg5jc iVdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18-v6si5739810pge.666.2018.07.19.07.50.02; Thu, 19 Jul 2018 07:50:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731939AbeGSPbt (ORCPT + 99 others); Thu, 19 Jul 2018 11:31:49 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9702 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731847AbeGSPbs (ORCPT ); Thu, 19 Jul 2018 11:31:48 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 4CF49F04FAFC1; Thu, 19 Jul 2018 22:47:59 +0800 (CST) Received: from S00293818-DELL1.huawei.com (10.202.226.54) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Thu, 19 Jul 2018 22:47:54 +0800 From: Salil Mehta To: CC: , , , , , , , Jian Shen Subject: [PATCH net-next 3/9] net: hns3: Remove extra space and brackets Date: Thu, 19 Jul 2018 15:47:00 +0100 Message-ID: <20180719144706.644-4-salil.mehta@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180719144706.644-1-salil.mehta@huawei.com> References: <20180719144706.644-1-salil.mehta@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.202.226.54] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jian Shen Remove extra space and brackets. Signed-off-by: Jian Shen Signed-off-by: Peng Li Signed-off-by: Salil Mehta --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h index 656c3e6..e66a762 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h @@ -37,7 +37,7 @@ struct hclge_cmq_ring { dma_addr_t desc_dma_addr; struct hclge_desc *desc; struct hclge_desc_cb *desc_cb; - struct hclge_dev *dev; + struct hclge_dev *dev; u32 head; u32 tail; diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c index cca5b2f..b097988 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c @@ -4288,7 +4288,7 @@ static int hclge_add_mc_addr(struct hnae3_handle *handle, { struct hclge_vport *vport = hclge_get_vport(handle); - return hclge_add_mc_addr_common(vport, addr); + return hclge_add_mc_addr_common(vport, addr); } int hclge_add_mc_addr_common(struct hclge_vport *vport, diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h index a5abf8e..b01a51d 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h @@ -77,11 +77,11 @@ /* Copper Specific Status Register */ #define HCLGE_PHY_CSS_REG 17 -#define HCLGE_PHY_MDIX_CTRL_S (5) +#define HCLGE_PHY_MDIX_CTRL_S 5 #define HCLGE_PHY_MDIX_CTRL_M GENMASK(6, 5) -#define HCLGE_PHY_MDIX_STATUS_B (6) -#define HCLGE_PHY_SPEED_DUP_RESOLVE_B (11) +#define HCLGE_PHY_MDIX_STATUS_B 6 +#define HCLGE_PHY_SPEED_DUP_RESOLVE_B 11 /* Factor used to calculate offset and bitmap of VF num */ #define HCLGE_VF_NUM_PER_CMD 64 -- 2.7.4