From mboxrd@z Thu Jan 1 00:00:00 1970 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 CB3AC30DEDC; Sun, 25 Jan 2026 21:20:19 +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=1769376019; cv=none; b=p41SVdsMmlDzFxkUE98IxN1wEcRNBVW9/RFlwL7A5BbkvuA2V0EN+qnXCUv9foyfPVekC6z2grw4hP+KAUO56RwODHw9OIgvmGswcUkxGACksJkKCHW1aFDdPD96tkX6102gzLKInWZ8HRvOD7tuWEE4dNZ5Y7+6wtO6+yWhndA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769376019; c=relaxed/simple; bh=fFc5GWOjATI8wU50Ou3gyc63w8hj5PkBp259xRZdrL4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=FxBXWTbVzCG1o9u+6XKymwcEjJeZ5WYhZvf5vBQDYH+iEVT1jqLTWECxqkTKh1hQxwwhxs/B/ktFbC5W/k7U08W7JtE6HSIBIcyQNeFvjadTUEGwq20gF5Vfp9eeEh20EVnQ26EYwYXdKpvEz7IAwz2zZZAiAEdNPSfTSTJScKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q4ki0f0q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q4ki0f0q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E5EFC19425; Sun, 25 Jan 2026 21:20:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769376019; bh=fFc5GWOjATI8wU50Ou3gyc63w8hj5PkBp259xRZdrL4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=q4ki0f0qTeGm7qwpj2VD3V04u4Vho8hCYaNIK7GIyIOugtCINtEymNuGb2EwIyILu /gw7JcZTxwB9zq5saF3ilM7qg6OBIi1w1jJP4DDhHkPUMlgNaebN0u4jMMxAjliQRA nScvraNIr4gjkxT6Nj5caiRZqZyPHUWYI+xj39Zl9S/hzesoztvCX/Kkklds63FxdI PaJdBQrJR2ri+kpFEKBRnPkEMjAgd731b0uKo1QEpyvN+8V0VmMUI3WgAKZlgyWrFF hI7P5ZTAZvXyYaWlD/5Xz3cE4DA8n3e7zshbD1/du3YyU9i5kRGI674AaLdKb27G/V EEeRiu9wSUssQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 8BBAD3809A15; Sun, 25 Jan 2026 21:20:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net 1/2] can: at91_can: Fix memory leak in at91_can_probe() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <176937601410.3588307.10395345975668569922.git-patchwork-notify@kernel.org> Date: Sun, 25 Jan 2026 21:20:14 +0000 References: <20260123173241.1026226-2-mkl@pengutronix.de> In-Reply-To: <20260123173241.1026226-2-mkl@pengutronix.de> To: Marc Kleine-Budde Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, kernel@pengutronix.de, zilin@seu.edu.cn Hello: This series was applied to netdev/net.git (main) by Marc Kleine-Budde : On Fri, 23 Jan 2026 18:30:06 +0100 you wrote: > From: Zilin Guan > > In at91_can_probe(), the dev structure is allocated via alloc_candev(). > However, if the subsequent call to devm_phy_optional_get() fails, the > code jumps directly to exit_iounmap, missing the call to free_candev(). > This results in a memory leak of the allocated net_device structure. > > [...] Here is the summary with links: - [net,1/2] can: at91_can: Fix memory leak in at91_can_probe() https://git.kernel.org/netdev/net/c/0baa4d3170d7 - [net,2/2] can: gs_usb: gs_usb_receive_bulk_callback(): fix error message https://git.kernel.org/netdev/net/c/494fc029f662 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html