[PATCH] reset: scmi: Set the device for the reset controller

Sudeep Holla sudeep.holla at kernel.org
Fri Oct 2 01:52:37 PDT 2026


On Fri, Oct 02, 2026 at 05:41:42PM +0900, Kunihiko Hayashi wrote:
> SCMI reset driver does not set rcdev.dev when registering its reset
> controller.
> 
> If rcdev.of_node is not available, the reset core tries to obtain
> the firmware node from rcdev.dev. However, rcdev.dev is also NULL,
> causing a NULL pointer dereference.
> 
> Set rcdev.dev to the SCMI device.
> 

Reviewed-by: Sudeep Holla <sudeep.holla at kernel.org>

Worth adding fixes tag IMO

Fixes: c8ae9c2da1cc ("reset: Add support for resets provided by SCMI")

Hi Philipp,

Can you please take this in your next round of fixes and/or updates ?

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list