Re: [char-misc-next 2/4] mei: make mei_write_message more readable

From: Greg KH
Date: Wed Jun 20 2012 - 19:41:01 EST


On Tue, Jun 19, 2012 at 09:13:35AM +0300, Tomas Winkler wrote:
> 1. reduce hairy casting
> 2. replace open code with mei_count_empty_write_slots
> 4. include header size in check for overflow
> 3. use concise for loop instead of a while loop
>
> Change-Id: Idb7423bd7bc570a46437568908a0e8f6d7225555

What is that nonsense?

Ick.

I'll delete it this time, but please, never again...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/