Commit a7d1ee78 authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Treehugger Robot
Browse files

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: default avatarVincent Donnefort <vdonnefort@google.com>
parent 2c26bdc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment