From: Erik Andersen <andersen@codepoet.org>
To: Willy Tarreau <willy@w.ods.org>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Andries Brouwer <aebr@win.tue.nl>,
Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 5/8 Backport recent 2.6 IDE updates to 2.4.x
Date: Sun, 17 Aug 2003 01:13:32 -0600 [thread overview]
Message-ID: <20030817071332.GA18234@codepoet.org> (raw)
In-Reply-To: <20030817065954.GF29616@alpha.home.local>
On Sun Aug 17, 2003 at 08:59:54AM +0200, Willy Tarreau wrote:
> On Sun, Aug 17, 2003 at 12:13:39AM -0600, Erik Andersen wrote:
>
> > + printk(KERN_INFO "%s: Host Protected Area detected.\n"
> > + "\tcurrent capacity is %ld sectors (%ld MB)\n"
> > + "\tnative capacity is %ld sectors (%ld MB)\n",
> > + drive->name,
> > + capacity, (capacity - capacity/625 + 974)/1950,
> > + set_max, (set_max - set_max/625 + 974)/1950);
>
> Just a question : why didn't you use your sectors_to_MB() function here, to
> make this replace the unreadable hack above ?
Mainly because sectors_to_MB() didn't exist yet when I wrote this
part. :-) This was later fixed by Andries Brouwer. which shows up
in patch #7,
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
next prev parent reply other threads:[~2003-08-17 7:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-17 6:13 [PATCH] 5/8 Backport recent 2.6 IDE updates to 2.4.x Erik Andersen
2003-08-17 6:59 ` Willy Tarreau
2003-08-17 7:13 ` Erik Andersen [this message]
2003-08-17 7:22 ` Willy TARREAU
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=20030817071332.GA18234@codepoet.org \
--to=andersen@codepoet.org \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=aebr@win.tue.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=willy@w.ods.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.