diff options
| author | David E. Garcia Porras <[email protected]> | 2026-07-27 12:30:40 -0600 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-08-31 21:12:18 +0530 |
| commit | 3e21ee3496684e27f1884e8947a1faf6e3195e09 (patch) | |
| tree | 3f5bc73ff475bc014ddafb2251d4170cbb48265b /include/sbi_utils/cppc | |
| parent | f95648d3955d72f77e13315a990a6135303978a5 (diff) | |
lib: sbi: dbtr: return SBI_ERR_BAD_RANGE for invalid trigger index range
sbi_dbtr_read_trig() returns SBI_ERR_INVALID_PARAM for an out-of-range
trigger index range, where SBI v3.0 section 19.3 defines
SBI_ERR_BAD_RANGE. Return SBI_ERR_BAD_RANGE, matching the equivalent
range check in sbi_dbtr_update_trig().
Fixes: 324021423d06 ("lib: sbi: dbtr: Fix update_triggers to match SBI")
Signed-off-by: David E. Garcia Porras <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/cppc')
0 files changed, 0 insertions, 0 deletions
