Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6356983ybf; Thu, 5 Mar 2020 19:00:46 -0800 (PST) X-Google-Smtp-Source: ADFU+vs7H1JyFTOi+XJPlNX3WRRh9PAHCuHxV1GPtU0x5gM0zrF06HF9jVciwKND8KCak5Co5HF4 X-Received: by 2002:a9d:6b04:: with SMTP id g4mr760994otp.167.1583463646295; Thu, 05 Mar 2020 19:00:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583463646; cv=none; d=google.com; s=arc-20160816; b=O52/FE/xNPzmYclmueBTY+27+8FtgU5wvKep5qt5yjOK2XXqSorb3Kx0Bl8nN3/e2T 2wzgV5/WEQhr4WrSRD0t//B/vrG58gGMMkYHqldyueRuA3IYxfhmaIvOqlm5/qZShF8m qfk36Q2uIvzBatLY19FsUEol0/FnCZul6EsM3CiFTtKstispSFdgwMXL4D2YwDqBFWHH YnPFnanlXH6LJtR2jSdY6uWqwcSIa5+Zc7Hp4PokVhXfc5pnU5X2N+PFhRDsaV9mfWw3 oJWKt7xl9BCJNJFkWeF9SQJRmeeFq0IaN3lKEVcyblqLSDVt4DKquCcf3r6n9btbutn9 yLxg== 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; bh=83uDKmShjNYegbb8KWbyKpa1x1kaSJWS1hk1TYFSFoY=; b=p/lsQfJwZt0Y3UoyMxHVrQII+1YcVZBruhaB5DpTG129OCzrEJPDmeeLT84mtkN7C4 G385JM5A9ar4bfEIgdlMMkm8rwqqKfIL3wdFzUPg4Yz+S5ZkKVh0PY50/rpQJPcJ6xFb 5H5gFOEZocf8eF+1iFokoksTuFYVyrFVNtJbJgXD3PIG+p4AP0C0zOSd+nR9HHic6kpW nAmn8bK55gzsjfKywoTDKn5ucYjH/3JmYxzVYjMgytE/Cghxo7KCpYPyorrhGQ4YuYf6 RYyH808Fb8XxaFKUu5FOvfTtQWlLNPxnIuhLvtpgQ+uaKH440BIXvSEARHitzFjdghCC 5oAg== 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 f20si588020oti.224.2020.03.05.19.00.33; Thu, 05 Mar 2020 19:00:46 -0800 (PST) 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 S1727264AbgCFC63 (ORCPT + 99 others); Thu, 5 Mar 2020 21:58:29 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:38194 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726565AbgCFC6B (ORCPT ); Thu, 5 Mar 2020 21:58:01 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 50BE53FB20E2953A6B1C; Fri, 6 Mar 2020 10:57:58 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.439.0; Fri, 6 Mar 2020 10:57:47 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 0/9] net: hns3: misc updates for -net-next Date: Fri, 6 Mar 2020 10:57:09 +0800 Message-ID: <1583463438-60953-1-git-send-email-tanhuazhong@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes some misc updates for the HNS3 ethernet driver. [patch 1] fixes some mixed type operation warning. [patch 2] renames a macro to make it more readable. [patch 3 & 4] removes some unnecessary code. [patch 5] adds check before assert VF reset to prevent some unsuitable error log. [patch 6 - 9] some modifications related to printing. Guojia Liao (2): net: hns3: fix some mixed type assignment net: hns3: delete some reduandant code Huazhong Tan (2): net: hns3: print out status register when VF receives unknown source interrupt net: hns3: synchronize some print relating to reset issue Yonglong Liu (1): net: hns3: add a check before PF inform VF to reset Yufeng Mo (4): net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH net: hns3: remove an unnecessary resetting check in hclge_handle_hw_ras_error() net: hns3: print out command code when dump fails in debugfs net: hns3: delete unnecessary logs after kzalloc fails drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 94 ++++++++++++---------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 3 - .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 27 ++++--- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 5 +- 5 files changed, 74 insertions(+), 59 deletions(-) -- 2.7.4