Re: [PATCH] Add a new section to CodingStyle, promoting include/linux/kernel.h.

From: Erik Mouw
Date: Mon Dec 18 2006 - 16:50:54 EST


On Mon, Dec 18, 2006 at 12:43:35PM -0500, Robert P. J. Day wrote:
> Add a new section to the CodingStyle file, encouraging people not to
> re-invent available kernel macros such as ARRAY_SIZE(),
> FIELD_SIZEOF(), min() and max(), among others.

Good stuff. Could you also mention the printk() KERN_ALERT etc. levels?
I've seen quite some people using "<1>" on the kernelnewbies list.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
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/