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

Tomasz Kłoczko
2006-07-24T00:50:06Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 974 bytes --]

On Mon, 24 Jul 2006, Tomasz Kłoczko wrote:
[..]
> In all other/most of cases (probably ~99%) Lindetd can be used .. but for NOW
> GENERALY IT IS NOT NOT USED.

I'm just look on number changed fles by Lindent. diffstat shows 14593
changed files. Number of all *.[ch] files is 16028. So it shows now
~9% all files passes cleanly indentation using Lindent (my above
"GENERALY IT IS NOT NOT USED" isn't true :).

IMO it is sill possible add general rule "allways use Lindent" because
indent can be dissabled/enabled aroud code inccorectly formated by add
control comments like:

/* *INDENT-OFF* */
/* *INDENT-ON* */

If it will be widely used probably it will allow better identify some
indent problems.

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*