Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1394160rdb; Sat, 3 Feb 2024 04:50:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+va72L1H8LQ+1SogM4AMX0JZaJBq9ZncudzQyZ0zBJIlobbR5tVeDXjBpPsOu5PRFFBd7 X-Received: by 2002:a25:9c86:0:b0:dc6:d9a8:9698 with SMTP id y6-20020a259c86000000b00dc6d9a89698mr4669490ybo.18.1706964655470; Sat, 03 Feb 2024 04:50:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706964655; cv=pass; d=google.com; s=arc-20160816; b=A4fM7tyuoZJ7g9ahAf8Fr7PXmGPKY/JuuZkpc3Pe2Gl/YiaIp70E/AWcn6meZoo0fP mxZ73M5PNBhDdcn3mleHy9uKkunhOBYl+HQjknar6DAAQU25UDN5ZYgFFlN9Qa2TjWma iM69awlEdOhYpuQ1DRemZheHB9a5XWszA9m+ZHjFZFzn2+cry3nQoXZ6A4hgvSzzpU4c GR1Rls35G+ag+zbxdnh5ngpjOJjoefDzMd38thPdi4Pgd+h+PxFP66fps87xAX2j9QHY WoiBaqwe9lgx9l6oV553+PIdNUHNO+4J7o4nd+SPf9Z+P7xJPXLuTLOUFi0DJf9XgA7o BzMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=RBInaMcW1n4W5jliKbySCxMIKd76Iur2wOsJjz5nzpw=; fh=2t7SUSbUKqOoJ/9voSUPHfb2iyXX1I6otQX2XULLp4o=; b=mcr2JQPS2GOExBOgcH3+0SYFgkPR+smOs2NPHaWZAR/82ApUSFCcL2TUsEWVeZ/NXR IluUgJT/iizaPJRkyiIQBQq+Q7J57PF3z8l0Mb6jpffaxbQl3l9bHK/KXZPGp020uM73 0nb/9UjN57CQ0DMn+Xl5LU0BXHC2x5Wyi1LT1f81XOJsmodeH7C5WP1geFS6fHwdEbfy HkRT2MWGC33ZN+pbgRi9Yt6NhKr6tpWnGRqXl//QqiHmMqnE22fWjMm3i3H4+YasHypO 5vmqad6WXzXYGMoWvltjabR5KwfUQnkIvSxjiUpZPktBxFFTSxlMGWJw87LsYLw/J1V/ XeYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rfxyDZWz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51089-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51089-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUErwTPc2/negWk7QzYX1P2WhXv3dCr51uLjT0UqSrkTVSrwR7jqoZf+HU1ydoyN+ICid0QRT82lDjfpR6etLdWbaLy4JjksIxcYMBY/w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f14-20020ad442ce000000b0068c60027bd4si3243628qvr.519.2024.02.03.04.50.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 04:50:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51089-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rfxyDZWz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51089-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51089-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 285C61C20D1A for ; Sat, 3 Feb 2024 12:50:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 888DF5DF2F; Sat, 3 Feb 2024 12:50:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rfxyDZWz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D68441744; Sat, 3 Feb 2024 12:50:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706964626; cv=none; b=kPxr1aH1WRSxnysiqa0qYhskVaizXZMubvcQry1t1CdkV2amlkTHdk4sIr74Z19FCOhPB7J1FSFJcSz8kqWqIPeIi5YuNSUryjY3Q2m1U6F+VzrQbEmr+lGLDkh/DK3z6kLmnc2b/YZaO+WoYjnjyaTLV/BWtKkGoMgDqu9ty8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706964626; c=relaxed/simple; bh=Yzm4nkb8Kf+C6fKBjMy+5A+MsweSAM1/vdVQOYBoCQo=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=iyBlvReXyvtKUgwhDiFBwINEZK3YMhvxn+hKpv3z8YVblkqpoXh8lVAhrlEyxYNpyyulK2xdlZdjwNDNqHOeQp3u6g21e+dxH28qdoP6u8zuowjnf+mplN78E7GlGwbajUHlfQ/xOgMpFW0wAOFFEjQ/Zgf8fjox6RsNYlcxUo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rfxyDZWz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 322D5C433B2; Sat, 3 Feb 2024 12:50:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706964626; bh=Yzm4nkb8Kf+C6fKBjMy+5A+MsweSAM1/vdVQOYBoCQo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rfxyDZWzm9jTw6Cc7iP2Zet22pVZNzxB40ywgfnvt+1oi2Zk1a3Iiu6vPlxxIqodP XJyUAacpTVzk0bb8+R18cWYYLLbwpW81gx7jSembAqztIME5++JPidCeNtdFdh9Vhs amXmmHTQoP8gIU/gW2H9/M3rhOSei/6M+I37iUUcMMXzNDo9osmLpZrvJ2qMnG0Ihj O717XhlUpRUwTje/P5DYntSZS5X1/J3BLCD+1mf17ezvHvfGluTMeT5Y3bkpV/7In6 HeJ8nLqEsZ4WjYCQXUQLtUCCtB25izdu6IAfvgUDPh2vb/9P8pPsb8+Qxmb0+1lHn+ 1uAtfdcAD2E2A== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 0C72FDC99E8; Sat, 3 Feb 2024 12:50:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] octeontx2-pf: Fix a memleak otx2_sq_init From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170696462604.20224.1934212959453811747.git-patchwork-notify@kernel.org> Date: Sat, 03 Feb 2024 12:50:26 +0000 References: <20240201124714.3053525-1-alexious@zju.edu.cn> In-Reply-To: <20240201124714.3053525-1-alexious@zju.edu.cn> To: Zhipeng Lu Cc: sgoutham@marvell.com, gakula@marvell.com, sbhatta@marvell.com, hkelam@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, jesse.brandeburg@intel.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 1 Feb 2024 20:47:13 +0800 you wrote: > When qmem_alloc and pfvf->hw_ops->sq_aq_init fails, sq->sg should be > freed to prevent memleak. > > Fixes: c9c12d339d93 ("octeontx2-pf: Add support for PTP clock") > Signed-off-by: Zhipeng Lu > --- > .../ethernet/marvell/octeontx2/nic/otx2_common.c | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) Here is the summary with links: - octeontx2-pf: Fix a memleak otx2_sq_init https://git.kernel.org/netdev/net/c/b09b58e31b0f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html