public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] ia64_fls patch (asm-ia64/bitops.h)
Date: Thu, 16 Jan 2003 22:53:25 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709805706@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805705@msgid-missing>

>>>>> On Thu, 16 Jan 2003 17:48:33 -0500, "MAGENHEIMER,DAN (HP-FtCollins,ex1)" <dan_magenheimer@hp.com> said:

  Dan> Here's a patch for a mistake in ia64_fls in bitops.h.  The result
  Dan> was incorrect (64) for inputs starting at 0xfffffffffffffc00.
  Dan> I've also fixed the comment and the return value (which was -65535!)
  Dan> for a zero input value.

No!  The comment was correct: the function is UNDEFINED for an argument of 0.

The rest looks good though.

	--david


      reply	other threads:[~2003-01-16 22:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 22:48 [Linux-ia64] ia64_fls patch (asm-ia64/bitops.h) MAGENHEIMER,DAN (HP-FtCollins,ex1)
2003-01-16 22:53 ` David Mosberger [this message]

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=marc-linux-ia64-105590709805706@msgid-missing \
    --to=davidm@napali.hpl.hp.com \
    --cc=linux-ia64@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox