From patchwork Wed Oct 19 02:42:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: shaozhengchao X-Patchwork-Id: 13011282 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C740FC433FE for ; Wed, 19 Oct 2022 02:34:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229902AbiJSCed (ORCPT ); Tue, 18 Oct 2022 22:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiJSCec (ORCPT ); Tue, 18 Oct 2022 22:34:32 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 817D2165AC for ; Tue, 18 Oct 2022 19:34:28 -0700 (PDT) Received: from dggpeml500026.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MsZSY2sGgzVhyf; Wed, 19 Oct 2022 10:29:49 +0800 (CST) Received: from huawei.com (10.175.101.6) by dggpeml500026.china.huawei.com (7.185.36.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 10:34:25 +0800 From: Zhengchao Shao To: , , , , CC: , , , , , , , , , Subject: [PATCH net 0/4] fix some issues in Huawei hinic driver Date: Wed, 19 Oct 2022 10:42:16 +0800 Message-ID: <20221019024220.376178-1-shaozhengchao@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500026.china.huawei.com (7.185.36.106) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fix some issues in Huawei hinic driver. This patchset is compiled only, not tested. Zhengchao Shao (4): net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg() net: hinic: fix memory leak when reading function table net: hinic: fix the issue of CMDQ memory leaks net: hinic: fix the issue of double release MBOX callback of VF .../net/ethernet/huawei/hinic/hinic_debugfs.c | 18 ++++++++++++------ .../net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 5 +++++ .../net/ethernet/huawei/hinic/hinic_hw_dev.c | 2 +- .../net/ethernet/huawei/hinic/hinic_sriov.c | 1 - 4 files changed, 18 insertions(+), 8 deletions(-)