From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlN55-00043g-S8 for qemu-devel@nongnu.org; Mon, 25 Jul 2011 11:28:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlN54-0004Sn-UE for qemu-devel@nongnu.org; Mon, 25 Jul 2011 11:28:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlN54-0004Sj-Kb for qemu-devel@nongnu.org; Mon, 25 Jul 2011 11:28:30 -0400 Message-ID: <4E2D8B97.5040407@redhat.com> Date: Mon, 25 Jul 2011 18:28:23 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1311602584-23409-1-git-send-email-avi@redhat.com> <1311602584-23409-12-git-send-email-avi@redhat.com> <4E2D8927.50504@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 11/23] memory: add ioeventfd support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org On 07/25/2011 06:22 PM, malc wrote: > > > > + } > > > > + if (a.fd< b.fd) { > > > > + return true; > > > > + } else { > if (a.fd> b.fd) { > > > > + return false; > > > > + } > } CODING_STYLE permits braceless else if. > > > > > > Braces.. > > > > > > > Where? add? remove? > > > > You authored the coding_style document btw. It's CODING_STYLE. -- error compiling committee.c: too many arguments to function