From: Rogier Wolff <Swen-Trap1@BitWizard.nl>
To: Artur Klauser <Artur.Klauser@computer.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: div64.h:do_div() bug
Date: Tue, 30 Sep 2003 11:52:29 +0200 [thread overview]
Message-ID: <20030930095229.GA32421@bitwizard.nl> (raw)
In-Reply-To: <Pine.LNX.4.51.0309291503030.7947@enm.xynhfre.bet>
On Mon, Sep 29, 2003 at 03:25:19PM +0200, Artur Klauser wrote:
> I've found that a bug in asm-arm/div64.h:do_div() is preventing correct
> conversion of timestamps in smbfs (and probably ntfs as well) from NT to
Nope.
> if (in.n64 != out.n64) {
> printf("FAILURE: asm/div64.h:do_div() is broken for 64-bit dividends\n");
do_div should be/is documented as not doing 64 bit dividents. It does
64/32 -> 32 divides, IIRC...
Roger.
(This EMail has a Unique reply address, so that I can count the number
of times that SWEN bites... :-)
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
**** "Linux is like a wigwam - no windows, no gates, apache inside!" ****
next prev parent reply other threads:[~2003-09-30 9:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-29 13:25 div64.h:do_div() bug Artur Klauser
2003-09-29 14:18 ` Matti Aarnio
2003-09-30 9:52 ` Rogier Wolff [this message]
2003-09-30 10:14 ` Matti Aarnio
2003-09-30 11:28 ` Matti Aarnio
2003-09-30 12:30 ` Andreas Schwab
2003-09-30 12:41 ` Artur Klauser
2003-09-30 12:53 ` div64.h:do_div() bug - SPARC, SH anbody? Artur Klauser
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=20030930095229.GA32421@bitwizard.nl \
--to=swen-trap1@bitwizard.nl \
--cc=Artur.Klauser@computer.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox