From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJiUT-0006pC-Ds for qemu-devel@nongnu.org; Thu, 04 Oct 2012 06:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJiUP-0000eh-Fp for qemu-devel@nongnu.org; Thu, 04 Oct 2012 06:17:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJiUP-0000dy-7j for qemu-devel@nongnu.org; Thu, 04 Oct 2012 06:17:09 -0400 Message-ID: <506D621E.8040506@redhat.com> Date: Thu, 04 Oct 2012 12:17:02 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1349280245-16341-1-git-send-email-avi@redhat.com> <1349280245-16341-18-git-send-email-avi@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v1 17/22] memory: use AddressSpace for MemoryListener filtering List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Paolo Bonzini , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Anthony Liguori , liu ping fan On 10/03/2012 10:16 PM, Blue Swirl wrote: >> @@ -141,7 +141,7 @@ static bool memory_listener_match(MemoryListener *listener, >> #define MEMORY_LISTENER_UPDATE_REGION(fr, as, dir, callback) \ >> MEMORY_LISTENER_CALL(callback, dir, (&(MemoryRegionSection) { \ >> .mr = (fr)->mr, \ >> - .address_space = (as)->root, \ >> + .address_space = (as), \ > > Maybe remove parenthesis. I prefer to keep it for consistency and defensiveness, unless you insist. -- error compiling committee.c: too many arguments to function