Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2186084rbb; Tue, 27 Feb 2024 13:32:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWA1P3O+dweUPChpYdiRdnhKFzvM5/wpXnK7RBKfD3uWQsJXPCwtU7INZI6zoF2qaljTdyAg4vqBdTQGCIsQ3OlSz/qx1G5cP9CiT3AUA== X-Google-Smtp-Source: AGHT+IHUj6IKQyqmxtjy8ZnfQAY8ixkhvOVUbPIs2AqqDcfqAzT7TGMbrGsfu8jB0YxuKJSeYt1K X-Received: by 2002:a05:6a20:43aa:b0:1a0:d25b:aa93 with SMTP id i42-20020a056a2043aa00b001a0d25baa93mr819486pzl.20.1709069540488; Tue, 27 Feb 2024 13:32:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709069540; cv=pass; d=google.com; s=arc-20160816; b=dN0s0GVTBM1AWkw8ZCYvb/SXfcr2JuKYIxquM3ZO1vVedIbYq8v3iJMgswckLdIg3j 86yHLe50nRcfbGU2ecawsufDPVSbo7KOYHcwjhxr/Jwb5UviEDBiny4RlIcPGK/+0v30 AscgLtdFYuYWoVcT8XfVUCWycczqAFujwJlL0fOXs9egZ3r0CqR1mV3r4mcQ2jXBfsud g8+a94Q4Ugv7w8XNvQz8meRzfF30/AeRH41tBF/8tT+ld3+235xwGM2b7ynNslb0351p +dtM/6lXsxs6p26z5XjQZiE4zauFWmR4ofeEHaBqHSZI5kGtm0EZ+iTiJnohVCYdS2Uh YHog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4X7OgnhzA0408NmQJznS3WtjF09N6jPBQZSZ+cdPFMU=; fh=fy3WxJgzAvVIUuIAKsA9SqNT5iC1mOpKhMV0nRoHjUg=; b=B5Exfb19fT8p/QrKSezynA9LUGL+X/zIddqwvIPHv4RbTaMcl56luyIrk63erl6EkU sVocr/EDDQfmVWcD/7UcZSfT+TSabPqu5vBVJCX4E2CQhPtQTRsSMKurN05wa12rc2gl r8Dr3fbm6zFRR7g5sHT5l/EOSl9zfk5wPH9+XbnI6kew6kiYGi+XQFaVJ11uThRG9EBw kiG/X/n1mr5jUPMDRGdo2UrrB/fwY6ltFt4GUfWiiu5bMNussYkThIayaDLUdI2xf+7L tf15KiT+tYfJDs+LN9HAlQaTf36AoXsUT6NnjLfmM7FyDxY8frMmyrHW87KSHU0te0jc dwbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=gXMM5bLC; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-83990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u11-20020a63470b000000b005e428bf5de1si6046995pga.749.2024.02.27.13.32.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 13:32:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=gXMM5bLC; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-83990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A0A76B22112 for ; Tue, 27 Feb 2024 20:51:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7410614F976; Tue, 27 Feb 2024 20:51:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="gXMM5bLC" Received: from smtp.smtpout.orange.fr (smtp-28.smtpout.orange.fr [80.12.242.28]) (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 4C4EF14E2CF for ; Tue, 27 Feb 2024 20:51:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067074; cv=none; b=fM2YJnb+3I4RuX3VgJWZvVIJs9cuS2nLU1rWUZREV369reKU0Plqhf++8+37FXYVedprOZ5JlIpJCiD/jGx1eh2t+AQcwyES3962RJhQTfmBCvux9T213Zqd0n7h2PWmRVNXB4xIn7vyQkzPoEAkN8XS6leNhyTiB8TyH1yYDrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067074; c=relaxed/simple; bh=CHjYuJEs1YGST1wT3cXrPmtA83Fz7pwoVCFfvmEsfoc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AVGp/niESjSkygzfKNgaW03m6J+7EQizLXj2I0HPEog28Kb5Dmz9P4iHCPTnPhD9/yOjm3XXMVXdYrh8u7wWHJEPxBIsIwQ9IAw3/J/cV8MEIqbAI+37tZ9bQW9v+i1HjvVWf3e7q+ajEMU0ShCU5OJERf3flRUa2lW2F+gdbYo= 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.28 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 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-) -- 2.43.2