Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1763704rwb; Thu, 10 Nov 2022 23:12:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5J0kCtwSD/UUmLXPyHgQwWBOnOCxctvLopCSpupCJoXT0B2xf85w/4j16zOoNbeddNXKGp X-Received: by 2002:a63:f1e:0:b0:470:88:8c18 with SMTP id e30-20020a630f1e000000b0047000888c18mr611546pgl.23.1668150762227; Thu, 10 Nov 2022 23:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668150762; cv=none; d=google.com; s=arc-20160816; b=aQ+PwRqyn3xLxZJjYQNdl/RkKQppVPocoA1LI1OB6YEZ1xtEXnGg1Tkz9rmwX6aD4z isizu0BrCVHF1zJxR8W0ESylBt9JsmtpIy7HXAq3HCvt7IbQ3VkSDXuSuTqAC3O/2oHZ y7McEJ0EhfQAfQAVKW0Jbcfm+JRKAyD03neGAZ/CimcH7n0cEHK+6b+mlu2ZKSeSjX9G byukAYss0mWYP6S15SzoXlJwtOSIge7+b+BDBm6R4UeSq503f+PW6v1zYr+PLU0GnOUA oT13+qJ2RQB19EKL+0KF7u3JRd2cXSOHIouMDj5BDJB2JKOoon3cSlzuse+u2d4o1Pud sc/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=09WuAEZ6AcKUy26zh0pLoQuQ1honNho38RCKyBfYiTs=; b=uichdcxW5Zq2cnmiyaj3EJ/fpO1cjobarlxyt6FQQmQ1ICsp2o+lh35bAntdY0dBJj sCRhMcAGcO2RnVJ1Y9b3gOrGmmxtPdd9XtlATZmeKPLYpjjIVIfxptzBGTVwxyYZQ+Qt /NNH5UI1ahU8pGs0nJMufigedWF5RrYzAZuhMgp5yF4/TD8UNGv+wxSWPLrFaLJnYIqu dWjmtXq+A1/icpLkNMBBBO7eLr6giWJWN4G/iueqjOylT7W2P/5QEBiCITfD6tPwmhM2 QVIFTPxj/ydt1pHXwAXMiOtlm0vQljGTTwfVnSxtQdEQJeRFtGVB6O+f4vDTAvx7RPF4 HLaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a63d349000000b0047063e55de3si1489027pgi.711.2022.11.10.23.12.30; Thu, 10 Nov 2022 23:12:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232077AbiKKHIP (ORCPT + 92 others); Fri, 11 Nov 2022 02:08:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233127AbiKKHIH (ORCPT ); Fri, 11 Nov 2022 02:08:07 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B57779D0D; Thu, 10 Nov 2022 23:08:06 -0800 (PST) Received: from canpemm500006.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4N7qXV4X2VzHvmN; Fri, 11 Nov 2022 15:07:38 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by canpemm500006.china.huawei.com (7.192.105.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 11 Nov 2022 15:08:04 +0800 From: Ziyang Xuan To: , , , , , , , , Subject: [PATCH net 0/4] octeon_ep: fix several bugs in exception paths Date: Fri, 11 Nov 2022 15:08:01 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.82] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500006.china.huawei.com (7.192.105.130) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Find several obvious bugs during code review in exception paths. Provide this patchset to fix them. Not tested, just compiled. Ziyang Xuan (4): octeon_ep: delete unnecessary napi rollback under set_queues_err in octep_open() octeon_ep: ensure octep_get_link_status() successfully before octep_link_up() octeon_ep: fix potential memory leak in octep_device_setup() octeon_ep: ensure get mac address successfully before eth_hw_addr_set() .../net/ethernet/marvell/octeon_ep/octep_main.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) -- 2.25.1