From: Andi Kleen <andi@firstfloor.org>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: andi@firstfloor.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Eliminate result signage problem in asm-x86_64/bitops.h
Date: Thu, 16 Aug 2007 00:23:55 +0200 [thread overview]
Message-ID: <20070815222355.GA5069@one.firstfloor.org> (raw)
In-Reply-To: <20070815210247.3518.89243.stgit@monet.1015granger.net>
On Wed, Aug 15, 2007 at 05:02:47PM -0400, Chuck Lever wrote:
> The return type of __scanbit() doesn't match the return type of
> find_{first,next}_bit(). Thus when you construct something like
> this:
>
> boolean ? __scanbit() : find_first_bit()
Why would you want to write this? What is boolean?
Do they have different arguments?
It's on my todo list for some time to special case
f_f_b() and friends for smaller arguments. Would
that eliminate this construct?
-Andi
next prev parent reply other threads:[~2007-08-15 22:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-15 21:02 [PATCH] Fix the sign of the result of a conditional expression Chuck Lever
2007-08-15 21:02 ` [PATCH] Eliminate result signage problem in asm-x86_64/bitops.h Chuck Lever
2007-08-15 22:23 ` Andi Kleen [this message]
2007-08-15 22:42 ` Chuck Lever
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=20070815222355.GA5069@one.firstfloor.org \
--to=andi@firstfloor.org \
--cc=chuck.lever@oracle.com \
--cc=linux-kernel@vger.kernel.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 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.