Re: [PATCH 2/2] kvm: x86: fix stale mmio cache bug
From: Paolo Bonzini
Date: Mon Aug 18 2014 - 17:25:11 EST
Il 14/08/2014 09:01, Xiao Guangrong ha scritto:
> * Clear the mmio cache info for the given gva,
> - * specially, if gva is ~0ul, we clear all mmio cache info.
> + * specially, if gva is ~MMIO_GVA_ANY, we clear all mmio cache info.
Extra ~.
> */
> +#define MMIO_GVA_ANY ~((gva_t)0)
> +
Better: (~(gva_t)0).
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/