From patchwork Mon Apr 5 17:06:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 415302 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3840721jai; Mon, 5 Apr 2021 10:08:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCC3hByjtTEai8NwCiEqlLnUiZPFza5KaS4+kg/QHjolMBOBwBXDpRgv8gU45AoykA4o2/ X-Received: by 2002:a05:6e02:1e08:: with SMTP id g8mr2252475ila.176.1617642503126; Mon, 05 Apr 2021 10:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617642503; cv=none; d=google.com; s=arc-20160816; b=ljfyGo1y+Hsng1/x58GzyWz4uxV0wIzixmKQoqYkYKffwRVkI8FeCmF03o4YOesSU1 Ft5KMW8u8sJCwTKeSnOIqDP6BymDsfdelCLSyoUMlgl1IEq+IzfwHsEic6nuVdYSW3G6 ABSfe0SLO47E0lzIfUfztLNs3IeDphDtOStxeyalNMyJVmSHmaUXuzgil/xsV/qEg6lN U1QUXeQDqvfeMxfjOtnX+FsGusWesebzrtyPfYazTJ0+sxXE7mSjmQO+JMU3mG43gT/N l7/0iiP/vBrGIIGYbWnHDx677BeEbXRgiQpzaj1/2Ku+H/hLlJ8Rre6bNOPfFicLDpaE CWQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=2Puua/KWmb8GY6kZsF7bVef2glk3CHxeh6RZifZx6bo=; b=xrIfL6BEKB+yjp9dLacuW8OLQkzsLDdKvEatkMA4jeRms7fxBqY5QS2D1cajFJTUbh RSqwH0TukX7X7GfeBaZ42Un8nuQe0NC/zE3UKMWrPYWOZDIGcYtg6DTCiefeGRfWkrIN kjERQt9Kkqu3aDmXHcmfiYeDNRoMhBSDd2Au2hWphPkOKf9N8Pl7W85qwh0cOrLYLv5Q 1HLE855zEphy8IdZtshU0CINYutSQaVjRt8sY7HsrfrXWXNlnTpx2ytzebjltxoDpkiP poFivGzaRnU6+IF+Ay+/7J2yYhdy/ieboUTGBe7U0rdEsbBlSxA3PZQ5BVmDGiXk/ob8 Q6lg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si234517ile.5.2021.04.05.10.08.22; Mon, 05 Apr 2021 10:08:23 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234399AbhDERI1 (ORCPT + 8 others); Mon, 5 Apr 2021 13:08:27 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:16339 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234031AbhDERIS (ORCPT ); Mon, 5 Apr 2021 13:08:18 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FDcVs1KHvz9wyg; Tue, 6 Apr 2021 01:05:57 +0800 (CST) Received: from A190218597.china.huawei.com (10.47.69.183) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 01:07:58 +0800 From: Salil Mehta To: , CC: , , , , Subject: [PATCH V2 net 0/2] Misc. fixes for hns3 driver Date: Mon, 5 Apr 2021 18:06:43 +0100 Message-ID: <20210405170645.29620-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-Originating-IP: [10.47.69.183] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes for the miscellaneous problems found during the review of the code. Change Summary: Patch 1/2, Change V1->V2: [1] Fixed comments from Leon Romanovsky Link: https://lkml.org/lkml/2021/4/4/14 Patch 2/2, Change V1->V2: None Salil Mehta (2): net: hns3: Remove the left over redundant check & assignment net: hns3: Remove un-necessary 'else-if' in the hclge_reset_event() drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.17.1