[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FFB3616.2070403@computer.org>
Date: Mon, 09 Jul 2012 21:50:46 +0200
From: Jan Ceuleers <jan.ceuleers@...puter.org>
To: Tabi Timur-B04825 <B04825@...escale.com>
CC: David Miller <davem@...emloft.net>,
Fleming Andy-AFLEMING <afleming@...escale.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] net/fsl_pq_mdio: use spin_event_timeout() to poll the
indicator register
On 07/09/2012 04:31 PM, Tabi Timur-B04825 wrote:
>> This indentation is absolutely terrible.
>
> Can you give me a clue as to how you think it should look? I could not
> come up with a good way to break up these lines and keep them under 80
> characters.
>
How about this:
+ status = spin_event_timeout(!(in_be32(®s->miimind) & MIIMIND_BUSY),
+ 1000, 0);
On the second line use as many tabs as possible, then continue with spaces until the '1' in 1000 lines up with the '!'.
HTH, Jan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists