From patchwork Tue Feb 27 20:50:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 13574423 Received: from smtp.smtpout.orange.fr (smtp-27.smtpout.orange.fr [80.12.242.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 085F414E2C8 for ; Tue, 27 Feb 2024 20:51:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.27 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067073; cv=none; b=Fh3DJZnyPfDjYm53DF/DEYZrmqyF1NMV4BpmMTRo3M9DM6+xx4S5ZliiXhIOjRW2Qm+mEgiKwQV42HyWn8zIE+h7YJvlaeFbIezCqRphV0MLfJ2RB0wt4I9ljTsbNg9XI/kOgfP8LN0s3hZyuxc+ER09G1PGw8naTrZN4ZYVasw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067073; c=relaxed/simple; bh=CHjYuJEs1YGST1wT3cXrPmtA83Fz7pwoVCFfvmEsfoc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=e1aVz9xo1mSFa8mUXfN3HTrm0mk5TephcPvhGK1Ucf+qhF084+cLbTHiq3lk+tMna069TPLCwCI5HmVzHmpN8LqkM4pjASFziLizFJg9M1g2ZRB4YJM7FBgLsPgGyYHSA0QjsLeK5ytmCMaO1vJSU3E9+AyncC9QTsrrMUwsl0s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=gXMM5bLC; arc=none smtp.client-ip=80.12.242.27 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="gXMM5bLC" Received: from fedora.home ([92.140.202.140]) by smtp.orange.fr with ESMTPA id f4PjrRU7nxsbMf4PjrnVjY; Tue, 27 Feb 2024 21:51:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1709067063; bh=4X7OgnhzA0408NmQJznS3WtjF09N6jPBQZSZ+cdPFMU=; h=From:To:Cc:Subject:Date; b=gXMM5bLCajy5uQYD5Vmf2X16QRsXPNaj2madgH6f/begypQJvO1AsoFa5s9aioiMi VUeoehXAIMYdPyHkTw8Q6hKxFp7LNvVOc0flIN25qiPFUlnL30vn8XvuqLodmCMZaS BSAyF3CE/hOYUqRGyNIZarhIPY1mSpYgUhQ3ScQ5vaMzx7yvj8OuROnxBsiApuosqC qZSk9L5hedtKfNgF5YoXZwcYjZGF968ixq9NA2s5ZL4Ed9anprA8dw/WqeEK0OXdR4 OCKQAoVXM+P/EfD9QMmVo1c6Mt2eVwVespEP+yizOus8zrZFPsMcN/L9aHfpNO0ljC rek6feTdO4ocQ== X-ME-Helo: fedora.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Tue, 27 Feb 2024 21:51:03 +0100 X-ME-IP: 92.140.202.140 From: Christophe JAILLET To: andy@greyhouse.net, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH net 0/2] net: tehuti: Fix some error handling paths in bdx_probe() Date: Tue, 27 Feb 2024 21:50:54 +0100 Message-ID: X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org The patch has been split in 2 patches in the hope to ease review. But they both fix issues introduced years ago in the same commit. Moreover, the 2nd patch partly undoes the first one. So, if preferred they can be merged in a single patch. They are both compile tested-only. Christophe JAILLET (2): net: tehuti: Fix a missing pci_disable_msi() in the error handling path of bdx_probe() net: tehuti: Fix leaks in the error handling path of bdx_probe() drivers/net/ethernet/tehuti/tehuti.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-)