Commit 81abaa85 authored by Quentin Perret's avatar Quentin Perret Committed by Robin Peng
Browse files

ANDROID: KVM: arm64: Fix error handling in pKVM FF-A proxy



__ffa_host_{un}share_ranges() returns the number of {un}shared pages,
and not 0 upon success, so make sure to check for that in the error path
of ffa_host_{un}share_ranges().

Bug: 236751556
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
Change-Id: Ie122e394f1bc4ce79fcbb24d2a5c58cd53b3c146
parent 1ca82fb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment