From: "Sebastian Dröge" <sebastian.droege@gmx.de>
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com
Subject: Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
Date: Tue, 27 Nov 2001 21:49:23 +0100 [thread overview]
Message-ID: <20011127204819Z282941-17408+21242@vger.kernel.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ok
I've corrected it myself I think
The patch is attached
Hopefully it doesn't break something :)
It's my first patch so please don't kill me
Bye
PS: sorry if/when you get this mail twice :(
My mail client is a bit confused today
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8A/xbvIHrJes3kVIRAoyxAJ4+XrCYXffS3P8zCmttT5WvkJ6w1QCdGpxK
nMof4o/n2VictCFrvZGRXeA=
=04xe
-----END PGP SIGNATURE-----
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 1292 bytes --]
--- linux/drivers/scsi/ide-scsi.c Tue Nov 27 21:41:35 2001
+++ linux/drivers/scsi/ide-scsi.c.old Tue Nov 27 21:40:38 2001
@@ -707,9 +707,9 @@
printk ("ide-scsi: %s: building DMA table, %d segments, %dkB total\n", drive->name, segments, pc->request_transfer >> 10);
#endif /* IDESCSI_DEBUG_LOG */
while (segments--) {
- bh->bi_io_vec->bvl_vec->bv_page = sg->page;
- bh->bi_io_vec->bvl_vec->bv_len = sg->length;
- bh->bi_io_vec->bvl_vec->bv_offset = sg->offset;
+ bh->bi_io_vec.bv_page = sg->page;
+ bh->bi_io_vec.bv_len = sg->length;
+ bh->bi_io_vec.bv_offset = sg->offset;
bh = bh->bi_next;
sg++;
}
@@ -719,9 +719,9 @@
#if IDESCSI_DEBUG_LOG
printk ("ide-scsi: %s: building DMA table for a single buffer (%dkB)\n", drive->name, pc->request_transfer >> 10);
#endif /* IDESCSI_DEBUG_LOG */
- bh->bi_io_vec->bvl_vec->bv_page = virt_to_page(pc->scsi_cmd->request_buffer);
- bh->bi_io_vec->bvl_vec->bv_len = pc->request_transfer;
- bh->bi_io_vec->bvl_vec->bv_offset = (unsigned long) pc->scsi_cmd->request_buffer & ~PAGE_MASK;
+ bh->bi_io_vec.bv_page = virt_to_page(pc->scsi_cmd->request_buffer);
+ bh->bi_io_vec.bv_len = pc->request_transfer;
+ bh->bi_io_vec.bv_offset = (unsigned long) pc->scsi_cmd->request_buffer & ~PAGE_MASK;
}
return first_bh;
}
next reply other threads:[~2001-11-27 20:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-27 20:49 Sebastian Dröge [this message]
2001-11-27 21:37 ` Slo Mo Snail
2001-11-28 10:21 ` Jens Axboe
2001-11-28 10:07 ` Martin Dalecki
[not found] <20011128135552.204311E532@Cantor.suse.de>
2001-11-28 13:58 ` Jens Axboe
2001-11-28 14:04 ` Sebastian Dröge
[not found] ` <20011128140246.318A01E560@Cantor.suse.de>
2001-11-28 14:07 ` Jens Axboe
2001-11-28 14:37 ` Jens Axboe
2001-11-28 14:52 ` Sebastian Dröge
2001-11-29 13:26 ` Slo Mo Snail
2001-11-29 13:33 ` Sebastian Dröge
2001-11-29 14:06 ` Slo Mo Snail
[not found] ` <20011129140517.8650E1E122@Cantor.suse.de>
2001-11-29 14:23 ` Jens Axboe
2001-11-29 14:37 ` Sebastian Dröge
[not found] ` <20011129143538.3A4F81E128@Cantor.suse.de>
2001-11-29 16:54 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2001-11-28 13:57 Sebastian Dröge
2001-11-27 20:02 Sebastian Dröge
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=20011127204819Z282941-17408+21242@vger.kernel.org \
--to=sebastian.droege@gmx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®