mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <teheo@novell.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: TAKADA Yoshihito <takada@mbf.nifty.com>, linux-kernel@vger.kernel.org
Subject: Re: i386: pata_cs5520 does not work
Date: Fri, 20 Jul 2007 10:22:09 +0900	[thread overview]
Message-ID: <46A00E41.5090608@novell.com> (raw)
In-Reply-To: <20070719161821.5206ac36@the-village.bc.nu>

Alan Cox wrote:
> O> > rc = devm_request_irq(&pdev->dev, irq[ap->port_no],
>>> 	ata_interrupt, 0, DRV_NAME, host);
>> devm_request_irq() is called twice from loop.
>> In 1st time, ap->port_no is 0. devm_request_irq() is success.
>> 2nd time, ap->port_no is 0 too. devm_request_irq() failed.
> 
> Looks like whoever updated it to the new probe mechanism didn't quite get
> it right
> 
> Change it to use 
> 
>           struct ata_port *ap = host->ports[i];
> 
> not ports[0]

Eh.... That was me being stupid.  Sorry about that.

-- 
tejun

      parent reply	other threads:[~2007-07-20  1:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-15 16:41 TAKADA Yoshihito
2007-07-15 17:39 ` Alan Cox
2007-07-16  0:19   ` TAKADA Yoshihito
2007-07-18 13:42     ` Alan Cox
2007-07-18 17:20       ` TAKADA Yoshihito
     [not found]       ` <20070719015806.8B09.TAKADA@mbf.nifty.com>
2007-07-19 10:08         ` TAKADA Yoshihito
2007-07-19 15:18           ` Alan Cox
2007-07-20  0:45             ` TAKADA Yoshihito
2007-07-20  1:22             ` Tejun Heo [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=46A00E41.5090608@novell.com \
    --to=teheo@novell.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=takada@mbf.nifty.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

Powered by JetHome