From: Alan Cox <alan@redhat.com>
To: Martin Schlemmer <azarah@nosferatu.za.org>
Cc: Alan Cox <alan@redhat.com>,
linux-ide@vger.kernel.org,
Linux Kernel Mailing Lists <linux-kernel@vger.kernel.org>,
torvalds@osdl.org
Subject: Re: PATCH: fixup incomplete ident blocks on ITE raid volumes
Date: Sun, 15 Aug 2004 16:27:22 -0400 [thread overview]
Message-ID: <20040815202722.GA29861@devserv.devel.redhat.com> (raw)
In-Reply-To: <1092601693.8976.140.camel@nosferatu.lan>
On Sun, Aug 15, 2004 at 10:28:13PM +0200, Martin Schlemmer wrote:
> > + }
> > + id->cyls = 1 + id->lba_capacity_2 / (id->heads * id->sectors);
> > + /* LBA28 is ok, DMA is ok, UDMA data is valid */
Change that to use sector_div() and it should be fine. My gcc didn't end
up generating internal gcc library helpers for that so I didnt notice.
next prev parent reply other threads:[~2004-08-15 20:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-15 14:45 PATCH: fixup incomplete ident blocks on ITE raid volumes Alan Cox
2004-08-15 20:28 ` Martin Schlemmer
2004-08-15 20:27 ` Alan Cox [this message]
2004-08-16 15:16 ` Bartlomiej Zolnierkiewicz
2004-08-16 15:28 ` Alan Cox
2004-08-16 14:57 ` Alan Cox
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=20040815202722.GA29861@devserv.devel.redhat.com \
--to=alan@redhat.com \
--cc=azarah@nosferatu.za.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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