summaryrefslogtreecommitdiffstats
path: root/drivers/soc/canaan/k210-sysctl.c
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2021-02-03 21:26:43 -0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-02-22 17:51:03 -0800
commit4bb875632ad0e8b71fa0f0be292793c061a9f43c (patch)
tree6aa8d2240ba943af519da20b59d2cebfb42f4973 /drivers/soc/canaan/k210-sysctl.c
parent65d4b9c5301749d18b5ec1323fdefecefab72687 (diff)
downloadlinux-4bb875632ad0e8b71fa0f0be292793c061a9f43c.tar.bz2
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 'drivers/soc/canaan/k210-sysctl.c')
0 files changed, 0 insertions, 0 deletions