Re: [PATCH] remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to andersson/remoteproc.git (refs/heads/for-next):

On Tue, 8 Dec 2020 09:54:20 +0800 you wrote:
> platform_get_resource() may fail and in this case a NULL dereference
> will occur.
> 
> Fix it to use devm_platform_ioremap_resource() instead of calling
> platform_get_resource() and devm_ioremap().
> 
> This is detected by Coccinelle semantic patch.
> 
> [...]

Here is the summary with links:
  - remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()
    https://git.kernel.org/andersson/remoteproc/c/c3d4e5b12672

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux