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

From: Tomasz Kłoczko
Date: Sun Jul 23 2006 - 20:52:04 EST


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@xxxxxxxxxxxxxxxxxx*