diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-02-03 21:26:43 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-02-22 17:51:03 -0800 |
commit | 4bb875632ad0e8b71fa0f0be292793c061a9f43c (patch) | |
tree | 6aa8d2240ba943af519da20b59d2cebfb42f4973 /include/soc | |
parent | 65d4b9c5301749d18b5ec1323fdefecefab72687 (diff) | |
download | linux-4bb875632ad0e8b71fa0f0be292793c061a9f43c.tar.gz linux-4bb875632ad0e8b71fa0f0be292793c061a9f43c.tar.bz2 linux-4bb875632ad0e8b71fa0f0be292793c061a9f43c.zip |
RISC-V: Add a non-void return for sbi v02 functions
SBI v0.2 functions can return an error code from SBI implementation.
We are already processing the SBI error code and coverts it to the Linux
error code.
Propagate to the error code to the caller as well. As of now, kvm is the
only user of these error codes.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions