[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176843054363.3597156.2942719740253822601.b4-ty@baylibre.com>
Date: Wed, 14 Jan 2026 14:42:23 -0800
From: Kevin Hilman <khilman@...libre.com>
To: andersson@...nel.org, Haotian Zhang <vulab@...as.ac.cn>
Cc: baolin.wang@...ux.alibaba.com, linux-omap@...r.kernel.org,
linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwspinlock: omap: Handle devm_pm_runtime_enable()
errors
On Mon, 24 Nov 2025 18:48:05 +0800, Haotian Zhang wrote:
> Although unlikely, devm_pm_runtime_enable() can fail due to memory
> allocations. Without proper error handling, the subsequent
> pm_runtime_resume_and_get() call may operate on incorrectly
> initialized runtime PM state.
>
> Add error handling to check the return value of
> devm_pm_runtime_enable() and return on failure.
>
> [...]
Applied, thanks!
[1/1] hwspinlock: omap: Handle devm_pm_runtime_enable() errors
commit: 3bd4edd67b034f8e1f61c86e0eb098de6179e3f2
Best regards,
--
Kevin Hilman <khilman@...libre.com>
Powered by blists - more mailing lists