mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bodo Eggert <7eggert@gmx.de>
To: Bagalkote@arcor-online.net, Sreenivas <sreenib@lsil.com>,
	linux-kernel@vger.kernel.org
Subject: RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule  for LSI Logic's SAS based MegaRAID controllers
Date: Wed, 09 Mar 2005 18:59:22 +0100	[thread overview]
Message-ID: <E1D95St-0000vh-Qo@be1.7eggert.dyndns.org> (raw)
In-Reply-To: <fa.ia0cbem.oiit9q@ifi.uio.no>

Bagalkote, Sreenivas <sreenib@lsil.com> wrote:

>>> . And since this is compile time
>>> system-wide property, I kept it as driver global.
>>
>>that step I don't understand... why is it a global *VARIABLE* if it's
>>compile time system-wide property...
>>
> 
> I see your point! Are you saying I should use if(sizeof(dma_addr_t)==8)
> instead of the shortcut if(is_dma64)? Are you thinking of "const" modifier?
> Please advice.

If using a static const variable produces about the same code a macro does,
the variable is OK. Otherwise you'll have to use a #define in order to avoid
including dead code.

       reply	other threads:[~2005-03-09 17:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.ia0cbem.oiit9q@ifi.uio.no>
2005-03-09 17:59 ` Bodo Eggert [this message]
2005-03-09 23:56 Bagalkote, Sreenivas
  -- strict thread matches above, loose matches on Subject: below --
2005-03-09 22:47 Bagalkote, Sreenivas
2005-03-09 22:59 ` 'Christoph Hellwig'
2005-03-09 17:44 Bagalkote, Sreenivas
2005-03-09 18:19 ` Arjan van de Ven
2005-03-09 16:01 Bagalkote, Sreenivas
2005-03-09 17:16 ` Arjan van de Ven
2005-03-09 14:43 Bagalkote, Sreenivas
2005-03-09 15:52 ` Arjan van de Ven
2005-03-09 22:03 ` 'Christoph Hellwig'
2005-03-08 23:08 Bagalkote, Sreenivas
2005-03-09  8:06 ` Arjan van de Ven
2005-03-08 22:58 Bagalkote, Sreenivas

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=E1D95St-0000vh-Qo@be1.7eggert.dyndns.org \
    --to=7eggert@gmx.de \
    --cc=Bagalkote@arcor-online.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sreenib@lsil.com \
    /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

all inboxes | Powered by JetHome®