FROMGIT: firmware: arm_scmi: Rework clock domain info lookups
Accessing clock domains descriptors by the index from the SCMI drivers can potentially lead to out-of-bound violations if the SCMI drivers misbehaves. Use a common helper to check the consistency of such accesses. Signed-off-by:Cristian Marussi <cristian.marussi@arm.com> Link: https://lore.kernel.org/r/20240110120916.2482603-1-cristian.marussi@arm.com Signed-off-by:
Sudeep Holla <sudeep.holla@arm.com> Bug: 339773531 (cherry picked from commit dea893a6 https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git for-linux-next) Change-Id: I2d51685b1b4564510f9cdb9262ae3363684650db Signed-off-by:
Zhipeng Wang <zhipeng.wang_1@nxp.com>
Loading
Please sign in to comment