ANDROID: KVM: arm64: Fix CPU type for swap_reader_tracing HVC
CPU being an int, we need to check if it is negative to ensure no out-of-bounds access. Make it unsigned. Bug: 278749606 Fixes: 794f8744 ("ANDROID: KVM: arm64: Add tracing support for the nVHE hyp") Change-Id: I987a66d83c7bf3143a6ba287e929cd52de549850 Signed-off-by:Vincent Donnefort <vdonnefort@google.com>
Loading
Please sign in to comment