public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Dalecki <dalecki@evision-ventures.com>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: rmk@arm.linux.org.uk, linux-kernel@vger.kernel.org,
	zlatko.calusic@iskon.hr
Subject: Re: IDE{,-SCSI} trouble [2.5.20]
Date: Wed, 05 Jun 2002 10:41:41 +0200	[thread overview]
Message-ID: <3CFDCEC5.6020900@evision-ventures.com> (raw)
In-Reply-To: <200206042254.PAA00940@baldur.yggdrasil.com>

Adam J. Richter wrote:
> Russell King wrote:
> 
>>On Tue, Jun 04, 2002 at 02:37:55PM -0700, Adam J. Richter wrote:
>>
>>>--- linux/drivers/ide/icside.c	2002-06-03 00:46:21.000000000 -0700
>>>+++ linux-2.5.20/drivers/ide/icside.c	2002-06-02 18:44:41.000000000 -0700
>>>@@ -275,9 +275,8 @@
>>> #define NR_ENTRIES 256
>>> #define TABLE_SIZE (NR_ENTRIES * 8)
>>> 
>>>-static int ide_build_sglist(struct ata_device *drive, struct request *rq)
>>>+static int ide_build_sglist(struct ata_channel *ch, struct request *rq)
>>> {
>>>-	struct ata_channel *ch = drive->channel;
>>> 	struct scatterlist *sg = ch->sg_table;
>>> 	int nents;
>>> 
>>
> 
>>Umm, you sure this is right?  ide_build_sglist takes an ata_channel
>>argument in my 2.5.20.
> 
> 
> 
> 	Right.  As the order of the file names in the diff confirms,
> I accidentally submitted a diff in reverse order.  You are also
> correct about:
> 
> 
>>If this is reversed, you also forgot to change where it is used in
>>icside.c.
> 
> 
> 	Russell: sorry for not cc'ing you in my original patch
> submission to Martin.  I infer that since you are adding another patch
> of your own and adding Martin to the recipient list that it is OK with
> you to volunteer Martin to combine your patch and mine in this case
> and submit them to Linus.
> 
> 	Martin: unless you, Russell, or anyone else sees a problem
> with this, could you please also apply the attached patch to icside.c,
> which I should have included in my original submission.  I missed my
> error when I checked for compiler warnings, because icside is not
> built on x86.
> 
> Adam J. Richter     __     ______________   575 Oroville Road
> adam@yggdrasil.com     \ /                  Milpitas, California 95035
> +1 408 309-6081         | g g d r a s i l   United States of America
>                          "Free Software For The Rest Of Us."
> 
> 
> --- before/drivers/ide/icside.c	2002-06-02 18:44:41.000000000 -0700
> +++ linux/drivers/ide/icside.c	2002-06-04 15:31:21.000000000 -0700
> @@ -491,7 +492,7 @@
>  	 */
>  	BUG_ON(dma_channel_active(ch->hw.dma));
>  
> -	count = ch->sg_nents = ide_build_sglist(ch, rq);
> +	count = ch->sg_nents = ide_build_sglist(drive, rq);
>  	if (!count)
>  		return 1;

Yeep. Seems to be pretty "obviously correct".



  reply	other threads:[~2002-06-05  9:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04 22:54 IDE{,-SCSI} trouble [2.5.20] Adam J. Richter
2002-06-05  8:41 ` Martin Dalecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-04 21:37 Adam J. Richter
2002-06-04 22:18 ` Russell King
2002-06-05  8:48   ` Martin Dalecki
2002-06-04 18:48 Zlatko Calusic

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=3CFDCEC5.6020900@evision-ventures.com \
    --to=dalecki@evision-ventures.com \
    --cc=adam@yggdrasil.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=zlatko.calusic@iskon.hr \
    /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