LKML Archive on
help / color / mirror / Atom feed
From: "Jesper Juhl" <>
To: "Pavel Pisa" <>
Cc: "Russell King - ARM Linux" <>,,
	"Sascha Hauer" <>,
	"Pierre Ossman" <>
Subject: Re: Coding style question
Date: Fri, 9 Feb 2007 12:18:53 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 09/02/07, Pavel Pisa <> wrote:
> Hello All,
> I have question if next style of macros definitions
> for hardware registers is acceptable (tastefull for
> maintainers) for Linux kernel.

It is generally preferred to keep macro names all uppercase.
Also, when possible, static inline functions are preferred over macros.

> found in each source file. If you prefer some already
> utilized style, direct me to right examples, please.
Documentation/CodingStyle : Chapter 12: Macros, Enums and RTL

Jesper Juhl <>
Don't top-post
Plain text mails only, please

  reply	other threads:[~2007-02-09 11:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 10:32 Pavel Pisa
2007-02-09 11:18 ` Jesper Juhl [this message]
2007-02-09 16:02 ` Stefan Richter
2007-02-09 20:46 ` Haavard Skinnemoen

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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: Coding style question' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).