Re: [Qemu-devel] [PATCH 11/23] memory: add ioeventfd support

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

 



On 07/25/2011 06:38 PM, malc wrote:
On Mon, 25 Jul 2011, Avi Kivity wrote:

>  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.

The example uses it, the text however suggests it's illegal.

I'll post a patch. It's perfectly reasonable IMO, and there ~1800 instances in the tree.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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