On Thu, Mar 03, 2011 at 12:21:59PM -0800, Jesse Gross wrote:
> On Thu, Mar 3, 2011 at 10:55 AM, Ben Pfaff <[email protected]> wrote:
> > Here, I think that kernel style calls for && to be at end of line:
> >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?&& opt_len == 8) {
> >
> > Ditto here:
> >> + ? ? ? ? ? ? ? ? ? ? ? ? && swkey->tp_src != 
> >> htons(NDISC_NEIGHBOUR_ADVERTISEMENT))
> 
> I usually put && at the end of the line because I find it easier to
> read; I don't think that kernel style prescribes one way or the other
> (there were some arguments on LKML a while back about whether it
> should).  In these cases I did it this way to avoid long lines.

OK.  I thought I saw this in Documentation/CodingStyle at one point
but it isn't there.  Never mind then.

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Reply via email to