diff options
| author | Raj Vishwanathan <[email protected]> | 2025-02-11 14:00:42 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-02-12 09:24:09 +0530 |
| commit | 5e90e54a1a53173128b264f4e22cfa5884f78526 (patch) | |
| tree | 833d3ae2f3eb32693779f33e7d0c0e1bccd6ccf5 /lib/utils/cppc/fdt_cppc_drivers.carray | |
| parent | 4f12f8b02f669e7cd3286a543f2cb6308fe5a0fe (diff) | |
lib: utils:Check that hartid is valid
It is possible that hartid may not be sequential and it should not be validated
against SBI_HARTMASK_MAX_BITS. Instead we should check the index of the hartid,
hart index, against SBI_HARTMASK_MAX_BITS.
Signed-off-by: Raj Vishwanathan <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc_drivers.carray')
0 files changed, 0 insertions, 0 deletions
