[PATCH] drivers: Conversions from kmalloc+memset to k(z|c)alloc.

Stefan Richter stefanr at s5r6.in-berlin.de
Sat Jul 22 14:25:20 EDT 2006


Tomasz Kłoczko wrote:
> On Fri, 21 Jul 2006, Stefan Richter wrote:
>> Pekka J Enberg wrote:
>>
>>> Yeah, that's what Andrew prefers but there are maintainers that disagree
>>> with that.
>>
>> Then they should change CodingStyle.
> 
> Better will be start use indent.

Style issues like "sizeof(struct foo)" versus "sizeof(*bar)" in memory 
allocation are beyond what indent can and should do.

> Coding style seems is Linux case kind of never ending story.

It's not a big deal in my limited experience, as far as there is a 
documented consensus.

> Keep one/common coding style in this case is someting not for small tool 
> but more for .. Superman/Hecules (?)
[...]

Yes. Or subsystem maintainers who didn't already could adopt the 
documented style. Or correct the document where it doesn't reflect 
consensus.
-- 
Stefan Richter
-=====-=-==- -=== =-==-
http://arcgraph.de/sr/



More information about the linux-pcmcia mailing list