From: Gertjan van Wingerde <gwingerde@home.nl>
To: Gertjan van Wingerde <gwingerde@home.nl>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: Re: drivers/md compile fixes.
Date: Sun, 06 Jan 2002 14:10:10 +0100 [thread overview]
Message-ID: <3C384CB2.2040601@home.nl> (raw)
In-Reply-To: <3C384A97.8090909@home.nl>
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
Okay,
It seems that I f**ked up the patch creation. Actually only the first
chunk of the patch is correct. New version of the patch attached.
Best regards/MvG,
Gertjan.
Gertjan van Wingerde wrote:
> Hi,
>
> The attached patch to 2.5.2-pre9 is necessary to get it to compile and
> to clean up some NODEV vs. mk_kdev(0, 0) usages.
>
>
--
MvG,
Gertjan
----------
Gertjan van Wingerde
Geessinkweg 177
7544 TX Enschede
The Netherlands
E-mail: gwingerde@home.nl
[-- Attachment #2: linux-md.diff --]
[-- Type: text/plain, Size: 429 bytes --]
diff -u --recursive linux-2.5.2-pre8/drivers/md/md.c linux-2.5.x/drivers/md/md.c
--- linux-2.5.2-pre8/drivers/md/md.c Sun Jan 6 11:28:53 2002
+++ linux-2.5.x/drivers/md/md.c Sun Jan 6 11:30:03 2002
@@ -641,7 +641,7 @@
int err = 0;
struct block_device *bdev;
- bdev = bdget(rdev->dev);
+ bdev = bdget(kdev_t_to_nr(rdev->dev));
if (!bdev)
return -ENOMEM;
err = blkdev_get(bdev, FMODE_READ|FMODE_WRITE, 0, BDEV_RAW);
prev parent reply other threads:[~2002-01-06 13:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-06 13:01 drivers/md compile fixes Gertjan van Wingerde
2002-01-06 13:10 ` Gertjan van Wingerde [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=3C384CB2.2040601@home.nl \
--to=gwingerde@home.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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.