Re: [PATCH v3 net-next 0/1] net: lls select poll support

From: David Miller
Date: Sun Jun 23 2013 - 21:44:43 EST

From: Eliezer Tamir <eliezer.tamir@xxxxxxxxxxxxxxx>
Date: Wed, 19 Jun 2013 13:04:21 +0300

> One question: do we need in sock_poll() to test that sock->sk is not null?
> (Thanks to Willem de Bruijn for pointing this out.)

We should not have to.

Please clean up various things in this patch:

1) You have cases where you add tons of unnecessary empty lines, of the

if (foo) {

please get rid of them.

2) Some of the LL loops have conditions that are not properly formatted,
I see things like:

do {
} while (x && y && z
&& whatever)

That "&& whatever" is not properly indented. You must always indent
multi-line conditions like this:

xxx (x && y &&
z && ...)

That is, operators always end the line, the never begin the line.
And one the second and subsequent lines you must line up the first
character with the first column after the openning parenthesis of
the first line. You should not just use a series of only TAB
characters to indent these expressions.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at