On Fri, 1 Jul 2022 17:03:10 +0100, Sudeep Holla wrote:
When scpi probe fails, at any point, we need to ensure that the scpi_info is not set and will remain NULL until the probe succeeds. If it is not taken care, then it could result in kernel panic with a NULL pointer dereference.
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[1/1] firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails https://git.kernel.org/sudeep.holla/c/689640efc0
-- Regards, Sudeep