[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53F26F29.9060308@redhat.com>
Date: Mon, 18 Aug 2014 23:24:57 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Xiao Guangrong <xiaoguangrong@...ux.vnet.ibm.com>, gleb@...nel.org
CC: avi.kivity@...il.com, mtosatti@...hat.com,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
David Matlack <dmatlack@...gle.com>, stable@...r.kernel.org
Subject: Re: [PATCH 2/2] kvm: x86: fix stale mmio cache bug
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists