Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7115098imm; Wed, 27 Jun 2018 20:44:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL//OIHbIRqoju7digS9TQDrFirX6NWeYW08C9l4BxZbcb+8Lw34+Y+fLhSDgWcXVpBkoqG X-Received: by 2002:a17:902:aa48:: with SMTP id c8-v6mr8760183plr.132.1530157447529; Wed, 27 Jun 2018 20:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530157447; cv=none; d=google.com; s=arc-20160816; b=R+w566abCdNO9fw2rlZS1E6HEDebTNW2NDYKHOylabMeBv1NO6Pc6Oy76JGVRa4+8M 6mVPpgU6QN5Uy0gXQFkbFU+nJAKzflV+7fwJqmAdyLkMnQXkwRRa14hzg+1BxBYyr8Im fo4fRjtrsuDifw87OIwZaW9uLWP5oIJOLWCYAA41oCvPCTUR7W8NGcmHEfhnShiPYh/i owm3ff3N/s0K5kRyshnsE4X4T4QHLjSqJJwPxrqvZySjxkblNNFKRC4Kw7uH1gQHbufF j+Igg8dDG23o6YA62KAYKSkrzegyCFqaiMxkvuwIZrK+WAY1/TQ6uERfj18j4WxTM4xK ud1g== 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=ghi57p3d72c3uE04GjI0mC0+2YJrt9kTqVXvS5PUlK8=; b=W799bdLZsUwxXQT1RFdFJi/xyM0P5Hep2d1s+N64L59HyCYgvnJWG5ApytECEJKlgT y67IJajn066TacY5+Dju3l8wK1M4L8WLliCOx+cNp4cKQ1mAjL/vf6iaIy8vgHn+xYgt 2bMnC0KuxuANkwBMY1Ffq8kfJyFo9BxgwXZ81RpN0eTZ37a3HwAiq7Ui4qQaqgY7IHsu pI2TMmpaw72KFOfyUfKBx38GFdsWs7AjbbDD6Eb/Srug/WyjqCL41zuh6E0FkRox0UIK 9gzBt05HigzZw9gtgfRpe6Z4VzAJUEjct36ZSIeo2hX+qCcInq4uwshWdxM3pASRWPnT 36Jg== 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 k2-v6si5653339plt.374.2018.06.27.20.43.53; Wed, 27 Jun 2018 20:44: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 S1753356AbeF1DlV (ORCPT + 99 others); Wed, 27 Jun 2018 23:41:21 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8743 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753194AbeF1DlO (ORCPT ); Wed, 27 Jun 2018 23:41:14 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 6F850A8BA4930; Thu, 28 Jun 2018 11:40:58 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Thu, 28 Jun 2018 11:40:51 +0800 From: Peng Li To: CC: , , , , , Subject: [PATCH net-next 00/11] net: hns3: a few code improvements Date: Thu, 28 Jun 2018 12:12:18 +0800 Message-ID: <1530159149-122284-1-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset fixes a few code stylistic issues from concentrated review, no functional changes introduced. Huazhong Tan (2): net: hns3: remove back in struct hclge_hw net: hns3: use lower_32_bits and upper_32_bits Peng Li (9): net: hns3: remove hclge_get_vector_index from hclge_bind_ring_with_vector net: hns3: rename the interface for init_client_instance and uninit_client_instance net: hns3: add vector status check before free vector net: hns3: add l4_type check for both ipv4 and ipv6 net: hns3: add unlikely for error check net: hns3: remove unused head file in hnae3.c net: hns3: extraction an interface for state init|uninit net: hns3: print the ret value in error information net: hns3: remove the Redundant put_vector in hns3_client_uninit drivers/net/ethernet/hisilicon/hns3/hnae3.c | 18 ++++--- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 18 +++---- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 12 ++--- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 49 +++++++++++------ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 - .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 61 ++++++++++------------ 6 files changed, 85 insertions(+), 74 deletions(-) -- 2.9.3