Re: [libata-dev #upstream-fixes] pata_legacy: don't call ata_host_detach() after initialization failure

2008-02-15 Thread Jeff Garzik
Tejun Heo wrote: ata_host_detach() detaches an attached port and shouldn't be called on a port which hasn't been attached yet. pata_legacy incorrectly calls ata_host_detach() on unattached port after initialization failure causing oops. Fix it. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> Cc:

Re: [libata-dev #upstream-fixes] pata_legacy: don't call ata_host_detach() after initialization failure

2008-02-13 Thread Ingo Molnar
* Tejun Heo <[EMAIL PROTECTED]> wrote: > ata_host_detach() detaches an attached port and shouldn't be called on > a port which hasn't been attached yet. pata_legacy incorrectly calls > ata_host_detach() on unattached port after initialization failure > causing oops. Fix it. thanks, i'll try

[libata-dev #upstream-fixes] pata_legacy: don't call ata_host_detach() after initialization failure

2008-02-13 Thread Tejun Heo
ata_host_detach() detaches an attached port and shouldn't be called on a port which hasn't been attached yet. pata_legacy incorrectly calls ata_host_detach() on unattached port after initialization failure causing oops. Fix it. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> Cc: Alan Cox <[EMAIL PR