[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164518740962.31566.15528927954028529401.git-patchwork-notify@kernel.org>
Date: Fri, 18 Feb 2022 12:30:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Xiaoke Wang <xkernel.wang@...mail.com>
Cc: davem@...emloft.net, kuba@...nel.org, michal.simek@...inx.com,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: ll_temac: check the return value of devm_kmalloc()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 18 Feb 2022 10:19:39 +0800 you wrote:
> From: Xiaoke Wang <xkernel.wang@...mail.com>
>
> devm_kmalloc() returns a pointer to allocated memory on success, NULL
> on failure. While lp->indirect_lock is allocated by devm_kmalloc()
> without proper check. It is better to check the value of it to
> prevent potential wrong memory access.
>
> [...]
Here is the summary with links:
- [v2] net: ll_temac: check the return value of devm_kmalloc()
https://git.kernel.org/netdev/net/c/b352c3465bb8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists