All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Corry <corryk@us.ibm.com>
To: "Mark Peloquin" <peloquin@us.ibm.com>, Robert Varga <nite@hq.alert.sk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] EVMS core 2/4: evms.h
Date: Fri, 4 Oct 2002 09:03:44 -0500	[thread overview]
Message-ID: <02100409034403.02266@boiler> (raw)
In-Reply-To: <OFFB872C80.2A0F42E5-ON85256C48.004BEF31@pok.ibm.com>

On Friday 04 October 2002 08:59, Mark Peloquin wrote:
> On 10/04/2002 at 7:28 AM, Robert Varga wrote:
> <snip...>
>
> > Possibly shortened to:
> >
> > static inline int list_member(struct list_head *member)
> > {
> >     return member->next && member->prev;
> > }
> >
> > Faster, and (at least to me) it looks more obvious.
>
> Yes, this may be shorter. However with this change
> the return type would also need to be changed to
> portable across archs.

What would the return type have to be?

-- 
Kevin Corry
corryk@us.ibm.com
http://evms.sourceforge.net/

  reply	other threads:[~2002-10-04 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-04 13:59 [Evms-devel] Re: [PATCH] EVMS core 2/4: evms.h Mark Peloquin
2002-10-04 14:03 ` Kevin Corry [this message]
2002-10-04 14:43   ` Kevin Corry
  -- strict thread matches above, loose matches on Subject: below --
2002-10-04 14:56 Mark Peloquin
2002-10-03 12:36 Kevin Corry
2002-10-03 14:50 ` Christoph Hellwig

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=02100409034403.02266@boiler \
    --to=corryk@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nite@hq.alert.sk \
    --cc=peloquin@us.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.