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

From: Stefan Richter
Date: Sat Jul 22 2006 - 14:28:24 EST


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/
-
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/