diff options
| author | Anup Patel <anup.patel@oss.qualcomm.com> | 2026-01-20 13:29:47 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-03-06 11:20:30 +0530 |
| commit | 45700a743af3b7402cb7238860a25c62f0498ab4 (patch) | |
| tree | e26bf0a422254f7e40965a1d2750dacd961288b2 /include/uapi/linux/netdev.h | |
| parent | 2dda6a9e09ee4f3c30ea72ba949a6ea781205e3a (diff) | |
RISC-V: KVM: Fix error code returned for Smstateen ONE_REG
Return -ENOENT for Smstateen ONE_REG when:
1) Smstateen is not enabled for a VCPU
2) ONE_REG id is out of range
This will make Smstateen ONE_REG error codes consistent
with other ONE_REG interfaces of KVM RISC-V.
Fixes: c04913f2b54e ("RISCV: KVM: Add sstateen0 to ONE_REG")
Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260120080013.2153519-2-anup.patel@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/uapi/linux/netdev.h')
0 files changed, 0 insertions, 0 deletions
