[PATCH] drivers: Conversions from kmalloc+memset to k(z|c)alloc.
Stefan Richter
stefanr at s5r6.in-berlin.de
Sun Jul 23 11:16:58 EDT 2006
Jeff Garzik wrote:
> Tomasz Kłoczko wrote:
>> Moment .. are you want to say something like "keep commont coding
>> style can't be maintained by tool" ?
Yes and no.
>> Even if indent watches on to small coding style emenets still I don't
>> see why using this tool isn't one of the current ement of release
>> procedure (?).
>
> indent isn't perfect, _especially_ where C99 comes into the picture.
>
> And running indent across the tree pre-release would (a) create a ton of
> noise before each release, and (b) undo perfectly valid, readable
> formatting.
>
> scripts/Lindent exists and gets used, but it is not perfect.
Tomasz,
yes, we have scripts/Lindent, but it cannot and is not supposed to solve
all style issues. Coding style is about _much_ more than whitespace. It
includes sensible names, usage of language features...
Furthermore, much of this thread revolved around style issues where a
common coding style is not fully established in the first place.
--
Stefan Richter
-=====-=-==- -=== =-===
http://arcgraph.de/sr/
More information about the linux-pcmcia
mailing list