On 23/05/2016 13:22, David Binderman wrote: > Hello there, > > arch/x86/kvm/svm.c:3600:45: warning: logical ‘and’ applied to > non-boolean constant [-Wlogical-op] > > Source code is > > u32 index = svm->vmcb->control.exit_info_2 && 0xFF; > > Maybe better code > > u32 index = svm->vmcb->control.exit_info_2 & 0xFF; Yes, there's a bug there. However it's only affecting a tracepoint, which is why it probably wasn't noticed. Thanks, Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html