Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1784481imm; Thu, 19 Jul 2018 07:51:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd8z69L6fehLt9/PNlOyWeA6KVwjHoJR9gvg7n1qDkX8y+CwDkUwmmW8/5p13KxMrKB6rPU X-Received: by 2002:a63:1d3:: with SMTP id 202-v6mr10199292pgb.136.1532011867092; Thu, 19 Jul 2018 07:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532011867; cv=none; d=google.com; s=arc-20160816; b=JAq6Ju8Um2o0G2R2JXjPS+05TF/+CvSKXjYC132yEYiETFZu6uVEDLNo9D++rbAz4G Oo0FS4nB6MKDYvhYMAGE/3QsWrCG1ep9YTjWZNzOR2pGE4xVtqfwulo6MeIErbMUttmy bRx015X4IYABXMJJQ/btejQD1tbyqMBA31BY8Zt+KNCv52y0SghfcIs+cDzi4aSWcn+u ELNkiEEiryDQ3Pwe3VssakheFNC6CBDfpa9cJDb3y5ozUS8WebnsvAXWGUs/wWDysbDy LXnbm9xf7Qpa5aEiNGb0XJpeLmgUm8Z8INsOTGkmiij8aoy2QfnmRqNwPOT5ObAXkuLc bZJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=l8l8zfz6gvlXLH2RkuY9kgCgNsnWVECj/073pdwyVC0=; b=CYDzMz8hRmeaEuG8mae8gWeeT0yKCn8si3EMkmtRqjTlCG95fui3WieTkRnaktdkkA MuH9nzgbiefecIo2YNtp3iovA4fiW/vTq9gC12u3asFbngNyA6t5qWe1OBES7P7TXg95 ItyLwA/GY+CMkuwDfA2YUWUYBbKW6QMOUkcmK/k8i4ZSMNrIr2hZy2aBr/RXVjRjyTvG +O9s7EyiKTLJ1BrDEI875H2xcmap5CFG6RJ5mGQHignoW5Z84vL2Xs6YhHr2LNUBzKnz hSxRqpJTPSCcm90cF7sXH1PcrsuJIkiHyRR2ynGI1F2Ay35OVrPqhYJAwQYW99BY+M/+ pD5w== 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 c25-v6si6200300pgm.523.2018.07.19.07.50.52; Thu, 19 Jul 2018 07:51:07 -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 S1731913AbeGSPbr (ORCPT + 99 others); Thu, 19 Jul 2018 11:31:47 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:9658 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730521AbeGSPbq (ORCPT ); Thu, 19 Jul 2018 11:31:46 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 78BDE6FA97AB0; Thu, 19 Jul 2018 22:47:49 +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:40 +0800 From: Salil Mehta To: CC: , , , , , , Subject: [PATCH net-next 0/9] Misc. cleanups for HNS3 ethernet driver Date: Thu, 19 Jul 2018 15:46:57 +0100 Message-ID: <20180719144706.644-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.17.1 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 This patch-set presents some cleanups for HNS3 Ethernet Driver. Jian Shen (9): net: hns3: Remove some redundant assignments net: hns3: Standardize the handle of return value net: hns3: Remove extra space and brackets net: hns3: Correct unreasonable code comments net: hns3: Use decimal for bit offset macros net: hns3: Modify inconsistent bit mask macros net: hns3: Fix misleading parameter name net: hns3: Remove unused struct member and definition net: hns3: Add SPDX tags to HNS3 PF driver drivers/net/ethernet/hisilicon/hns3/hnae3.c | 10 +- drivers/net/ethernet/hisilicon/hns3/hnae3.h | 10 +- drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c | 10 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 14 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 10 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 10 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 14 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 103 ++++++-------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 10 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h | 10 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 150 +++++++-------------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 42 +++--- .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 10 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h | 10 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 10 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 10 +- 16 files changed, 136 insertions(+), 297 deletions(-) -- 2.7.4