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

2006-12-18 Thread Robert P. J. Day
On Mon, 18 Dec 2006, Erik Mouw wrote: > 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. > > Go

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

2006-12-18 Thread Erik Mouw
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

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

2006-12-18 Thread Jan Engelhardt
> 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 <[EMAIL PROTECTED]> Acked-by: Jan Engelhardt <[EMAIL PROTECTED]> -`J' -- -

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

2006-12-18 Thread Randy Dunlap
On Mon, 18 Dec 2006 12:43:35 -0500 (EST) 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. > > Signed-off-by: Robert P. J. Day <[EMAIL PROTE

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

2006-12-18 Thread Robert P. J. Day
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 <[EMAIL PROTECTED]> --- NOTE: at the moment, there is not a single invocation of the F