Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp212611ybh; Fri, 6 Mar 2020 19:53:20 -0800 (PST) X-Google-Smtp-Source: ADFU+vuii2VB//5W9jozTHlmxAO6h68qxHQfXVsLnHlTqz9qA7S32kUT5RsdfRe9VzAQPzwX6FGH X-Received: by 2002:aca:2413:: with SMTP id n19mr5033594oic.126.1583553200754; Fri, 06 Mar 2020 19:53:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583553200; cv=none; d=google.com; s=arc-20160816; b=Bd9C0RqNw44tQEcGldbf+WiOzAQXYRfgwU7jcmJJ0quGdOGsw3+jSEnKA1oqQ111Qb XTHrHliJ6U/piQoR9R/mWpvEH/tDQhFXXzWbQD3dbpao8tGYDcs3UZrtkVLNkMYDKNmt Wjhm575uTwTLqAK7881Q0or3TkXYD790b19VT9vQygfGwK8ZPApHHyGd8J0KhtYYnxvb /pvMHcJjcquzuXXmbk+ZFxVPlMqzoIdL6HMKsSM3g5SqqdcAggvRPYD2qwfWwONrAF8B OI2ikPiBx870XNKb9uFgigcaRtI9czx4VwMjwGCPJkSv+dxXErxjeVY9a+Ec9QA+cjgo s7Yw== 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=PqRoTXR0pFOKdAa8P2P6xAAxIdzUfrv/4kkqfgJ5xZk=; b=UC31E1GyhHj6gzKi/xO8vNoWXq0LcXSWAXGc1DeuZsLqwQy+DtVtAGHjZOpaNcJ4iq +EK1rw1IkMleT9voXwME9sem0VueKSRJYplDb0dSLiVmZWGHths9yQ/Okb0EsIs5gh3m 4OtvxZniIkaOKWYIMSBJYjtrRnAnEeDjb5CZ942dd9BNK4b/M5T1RqM56s4RuYGOlhXq wrgQvz2WxBSA6dD9ofvojBJ+XY7SSi8Jcgen79jcoaZT7RST49FwXfz0uNbH7vL/s0oE WHqvgbQmDAM33TQzcfTbrfmOmMgF2i34YCoifK4EuehxIa0Kmq6SfcOvgbj50eZ6gBAl yhvg== 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 19si742928oip.93.2020.03.06.19.53.09; Fri, 06 Mar 2020 19:53:20 -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 S1727359AbgCGDwo (ORCPT + 99 others); Fri, 6 Mar 2020 22:52:44 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11603 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726359AbgCGDwf (ORCPT ); Fri, 6 Mar 2020 22:52:35 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 13FB229C5B5326740164; Sat, 7 Mar 2020 11:52:29 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Sat, 7 Mar 2020 11:52:18 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH V2 net-next 0/9] net: hns3: misc updates for -net-next Date: Sat, 7 Mar 2020 11:42:41 +0800 Message-ID: <1583552570-51203-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. Change log: V1->V2: fixes a wrong print format in [patch 1] suggested by Jian Shen. 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 | 96 ++++++++++++---------- .../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, 75 insertions(+), 60 deletions(-) -- 2.7.4