Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754204AbZFCThO (ORCPT ); Wed, 3 Jun 2009 15:37:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753053AbZFCThD (ORCPT ); Wed, 3 Jun 2009 15:37:03 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:36603 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752594AbZFCThC (ORCPT ); Wed, 3 Jun 2009 15:37:02 -0400 Date: Wed, 3 Jun 2009 21:39:18 +0200 From: Sam Ravnborg To: "Michael S. Zick" Cc: Linus Torvalds , "linux-kernel@vger.kernel.org" Subject: Re: [RFC: Style] Kernel coding style for Extended Attributes. Message-ID: <20090603193918.GF3100@uranus.ravnborg.org> References: <200906031037.50803.lkml@morethan.org> <200906031211.49890.lkml@morethan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906031211.49890.lkml@morethan.org> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 23 On Wed, Jun 03, 2009 at 12:11:47PM -0500, Michael S. Zick wrote: > On Wed June 3 2009, Linus Torvalds wrote: > > > > On Wed, 3 Jun 2009, Michael S. Zick wrote: > > > > > > Is there a recommended style for the kernel source? > > > > I think the recommended style is: > > > > "Hide them behind a macro so that they never show up in the source". > > > > That seems to be the general consensus in (/by) practice. Use __section() to define a section. See init.h for usage and compiler.h for definition. Sam -- 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/