diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-17 11:14:26 +0300 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-07-19 13:35:12 +0200 |
commit | f85c758dbee54cc3612a6e873ef7cecdb66ebee5 (patch) | |
tree | b00f5e6a41ea1daf9a1c61d57b207708b073a1f3 /arch/m32r/lib/delay.c | |
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>
Diffstat (limited to 'arch/m32r/lib/delay.c')
0 files changed, 0 insertions, 0 deletions