aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2016-07-08 10:53:29 +0000
committerPaolo Bonzini <[email protected]>2016-08-01 16:42:26 +0000
commit8296963e6e8c656c4d91dfa7245e49672aa9675e (patch)
tree2318d0ae22622bfa9b5ae81960c4fc7b0859edfa /scripts/gcc-plugins/sancov_plugin.c
parentMIPS: KVM: Sign extend MFC0/RDHWR results (diff)
downloadkernel-8296963e6e8c656c4d91dfa7245e49672aa9675e.tar.gz
kernel-8296963e6e8c656c4d91dfa7245e49672aa9675e.zip
MIPS: KVM: Fix ptr->int cast via KVM_GUEST_KSEGX()
kvm_mips_trans_replace() passes a pointer to KVM_GUEST_KSEGX(). This breaks on 64-bit builds due to the cast of that 64-bit pointer to a different sized 32-bit int. Cast the pointer argument to an unsigned long to work around the warning. Signed-off-by: James Hogan <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: "Radim Krčmář" <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions