lkml.org 
[lkml]   [2008]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [libata-dev #upstream-fixes] pata_legacy: don't call ata_host_detach() after initialization failure
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 <htejun@gmail.com>
> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Cc: Ingo Molnar <mingo@elte.hu>
> Cc: Arjan van de Ven <arjan@infradead.org>
> ---
> drivers/ata/pata_legacy.c | 2 --
> 1 file changed, 2 deletions(-)

applied




\
 
 \ /
  Last update: 2008-02-15 19:55    [W:0.097 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site