]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Add a new section to CodingStyle, promoting include/linux/kernel.h
authorRobert P. J. Day <rpjday@mindspring.com>
Fri, 22 Dec 2006 09:09:11 +0000 (01:09 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:49 +0000 (08:55 -0800)
commit58637ec90b7ceed5909e726ac90118852f79d2b1
treef5478b2f088d31b609ed07bb10fb641bad7cd10e
parent163ca88b9c5858909ee3f8801ae0096b5f94e835
[PATCH] Add a new section to CodingStyle, promoting include/linux/kernel.h

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.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/CodingStyle