Re: [patch] kvm: svm: fix potential get_num_contig_pages overflow

From: Singh, Brijesh
Date: Wed Mar 20 2019 - 10:07:53 EST




On 3/19/19 5:19 PM, David Rientjes wrote:
> get_num_contig_pages() could potentially overflow int so make its type
> consistent with its usage.
>
> Reported-by: Cfir Cohen <cfir@xxxxxxxxxx>
> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
> ---
> arch/x86/kvm/svm.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>

Reviewed-by: Brijesh Singh <brijesh.singh@xxxxxxx>