Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754649AbWLRVuG (ORCPT ); Mon, 18 Dec 2006 16:50:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754647AbWLRVuG (ORCPT ); Mon, 18 Dec 2006 16:50:06 -0500 Received: from dtp.xs4all.nl ([80.126.206.180]:44067 "HELO abra2.bitwizard.nl" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1754649AbWLRVuF (ORCPT ); Mon, 18 Dec 2006 16:50:05 -0500 Date: Mon, 18 Dec 2006 22:50:02 +0100 From: Erik Mouw To: "Robert P. J. Day" Cc: Linux kernel mailing list , Andrew Morton Subject: Re: [PATCH] Add a new section to CodingStyle, promoting include/linux/kernel.h. Message-ID: <20061218215002.GL7280@harddisk-recovery.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Harddisk-recovery.com User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 772 Lines: 19 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/