commit | ede885ecb2cdf8a8dd5367702e3d964ec846a2d5 | [log] [tgz] |
---|---|---|
author | David Rientjes <rientjes@google.com> | Tue Mar 19 15:19:56 2019 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Apr 05 20:48:59 2019 +0200 |
tree | 37259d733ebe35446d832aefe82c8be529691196 | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 [diff] |
kvm: svm: fix potential get_num_contig_pages overflow get_num_contig_pages() could potentially overflow int so make its type consistent with its usage. Reported-by: Cfir Cohen <cfir@google.com> Cc: stable@vger.kernel.org Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>