From patchwork Sun Nov 13 09:37:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuan Can X-Patchwork-Id: 13041493 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 296D9C433FE for ; Sun, 13 Nov 2022 09:39:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233760AbiKMJjE (ORCPT ); Sun, 13 Nov 2022 04:39:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbiKMJjE (ORCPT ); Sun, 13 Nov 2022 04:39:04 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94012B7D5 for ; Sun, 13 Nov 2022 01:39:02 -0800 (PST) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4N96nt1xHGzmVt5; Sun, 13 Nov 2022 17:38:42 +0800 (CST) Received: from huawei.com (10.175.112.208) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 13 Nov 2022 17:39:00 +0800 From: Yuan Can To: , , , , , , , CC: Subject: [PATCH 0/2] Fix error handling path Date: Sun, 13 Nov 2022 09:37:17 +0000 Message-ID: <20221113093719.23687-1-yuancan@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.175.112.208] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series contains two missing error handling related bugfixes. Yuan Can (2): net: skge: Fix error handling in skge_init_module() net: sky2: Fix error handling in sky2_init_module() drivers/net/ethernet/marvell/skge.c | 10 ++++++++-- drivers/net/ethernet/marvell/sky2.c | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-)