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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux