Re: [PATCH] arch: x86: kvm: mmu.c: use true/false for bool type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 29, 2019 at 03:11:04PM +0530, Saurav Girepunje wrote:
> Use true/false for bool type "dbg" in mmu.c
> 
> Signed-off-by: Saurav Girepunje <saurav.girepunje@xxxxxxxxx>
> ---
>  arch/x86/kvm/mmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
> index 24c23c66b226..c0b1df69ce0f 100644
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -68,7 +68,7 @@ enum {
>  #undef MMU_DEBUG
>  
>  #ifdef MMU_DEBUG
> -static bool dbg = 0;
> +static bool dbg = true;

You're actually changing the value from false to true. Please, if you
don't know C, don't touch things.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux