Skip to content
Commit 64497517 authored by zhongbaisong's avatar zhongbaisong Committed by Heiko Carstens
Browse files

s390/protvirt: fix error return code in uv_info_init()



Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarBaisong Zhong <zhongbaisong@huawei.com>
Fixes: 37564ed8 ("s390/uv: add prot virt guest/host indication files")
Link: https://lore.kernel.org/r/2f7d62a4-3e75-b2b4-951b-75ef8ef59d16@huawei.com


Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 0ee3f739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment