diff options
| author | David E. Garcia Porras <[email protected]> | 2026-07-27 12:30:41 -0600 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-08-31 21:12:18 +0530 |
| commit | 548518e675d0ed387ff3ee2d9a2226a6e93090a4 (patch) | |
| tree | b457eff4d7f786d68610ef9edb101c7b870e8c82 /include | |
| parent | 3e21ee3496684e27f1884e8947a1faf6e3195e09 (diff) | |
lib: sbi: dbtr: return SBI_ERR_INVALID_PARAM for invalid trigger configuration
sbi_dbtr_install_trig() returns the generic SBI_ERR_FAILED when
dbtr_trigger_valid() rejects a trigger configuration (dmode or M-mode
bits set), where SBI v3.0 section 19.4 defines SBI_ERR_INVALID_PARAM
for an invalid trigger configuration entry. Return
SBI_ERR_INVALID_PARAM instead.
Fixes: 97f234f15c96 ("lib: sbi: Introduce the SBI debug triggers extension support")
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')
0 files changed, 0 insertions, 0 deletions
