commit | f85c758dbee54cc3612a6e873ef7cecdb66ebee5 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jul 17 11:14:26 2017 +0300 |
committer | Radim Krčmář <rkrcmar@redhat.com> | Wed Jul 19 13:35:12 2017 +0200 |
tree | b00f5e6a41ea1daf9a1c61d57b207708b073a1f3 | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 [diff] |
KVM: x86: masking out upper bits kvm_read_cr3() returns an unsigned long and gfn is a u64. We intended to mask out the bottom 5 bits but because of the type issue we mask the top 32 bits as well. I don't know if this is a real problem, but it causes static checker warnings. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>