diff options
author | Clément Léger <cleger@rivosinc.com> | 2025-01-24 19:51:57 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-02-19 19:43:21 +0300 |
commit | 1ad199124479b9944d5dddc2119e6da9f088f7a7 (patch) | |
tree | e398f81e2579fbcc3bbce26cb76d6234dc7c1499 /lib | |
parent | b91ab20cd2419892107e5a6a3d7df6088540d5df (diff) | |
download | opensbi-master.tar.xz |
Latest modifications to the spec mandates that a set on a lock feature
returns SBI_ERR_DENIED_LOCKED.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sbi/sbi_fwft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_fwft.c b/lib/sbi/sbi_fwft.c index 0cb165b..c46006d 100644 --- a/lib/sbi/sbi_fwft.c +++ b/lib/sbi/sbi_fwft.c @@ -337,7 +337,7 @@ int sbi_fwft_set(enum sbi_fwft_feature_t feature, unsigned long value, return SBI_EINVAL; if (conf->flags & SBI_FWFT_SET_FLAG_LOCK) - return SBI_EDENIED; + return SBI_EDENIED_LOCKED; ret = conf->feature->set(conf, value); if (ret) |