diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2024-01-10 12:09:16 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2024-02-20 06:29:31 +0000 |
commit | dea893a66cd5b0cbd2f215137c32962a9a0cd178 (patch) | |
tree | 778e5b6706985b34e94947864128d9e78e8ae295 /drivers/fpga/machxo2-spi.c | |
parent | 534224b958dfc5c7beca2542e27a094d64d66b1a (diff) |
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>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions