aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2023-08-03 13:32:54 -0300
committerAnup Patel <anup@brainfault.org>2023-08-08 17:25:44 +0530
commita044ef71043ebc23903f657fd51b10783d34918b (patch)
tree912a19b75581992c7f9f2206a860f3eee954612d /tools/perf/scripts/python
parentRISC-V: KVM: return ENOENT in *_one_reg() when reg is unknown (diff)
downloadwireguard-linux-a044ef71043ebc23903f657fd51b10783d34918b.tar.xz
wireguard-linux-a044ef71043ebc23903f657fd51b10783d34918b.zip
RISC-V: KVM: use ENOENT in *_one_reg() when extension is unavailable
Following a similar logic as the previous patch let's minimize the EINVAL usage in *_one_reg() APIs by using ENOENT when an extension that implements the reg is not available. For consistency we're also replacing an EOPNOTSUPP instance that should be an ENOENT since it's an "extension is not available" error. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions