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

Re: [Xen-devel] [PATCH 0/4] [Net] Support accelerated network plugin modules





On 15/6/07 13:21, "Michael Buesch" <mb@xxxxxxxxx> wrote:

>> True in general, but not the cases I've seen in this patchset, where 'foo'
>> is a predicate.
> 
> Ok, if foo is a variable containing an error code, it's
> better to return that error code. I assumed that foo is a
> variable containing some value (counter or something).

I mean specifically things like:
 if (be->accelerator == NULL)
    return 1;
 else
    return 0;

 K.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.