public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Zick" <lkml@morethan.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC: Style] Kernel coding style for Extended Attributes.
Date: Wed, 3 Jun 2009 12:11:47 -0500	[thread overview]
Message-ID: <200906031211.49890.lkml@morethan.org> (raw)
In-Reply-To: <alpine.LFD.2.01.0906030843340.4880@localhost.localdomain>

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.

Thanks,
Mike  

> and then basically nobody will care about whether there is a space between 
> the __attribute__ and '(('.
> 
> 		Linus
> --
> 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/
> 
> 



  reply	other threads:[~2009-06-03 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03 15:37 [RFC: Style] Kernel coding style for Extended Attributes Michael S. Zick
2009-06-03 15:45 ` Linus Torvalds
2009-06-03 17:11   ` Michael S. Zick [this message]
2009-06-03 19:39     ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200906031211.49890.lkml@morethan.org \
    --to=lkml@morethan.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox