Re: [PATCH] ide: ide_port_wait_ready() fix

From: David Miller
Date: Tue Oct 11 2011 - 15:17:46 EST


From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Date: Tue, 11 Oct 2011 19:13:18 +0200

> From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> Subject: [PATCH] ide: ide_port_wait_ready() fix
>
> Fix for commit a20b2a4 ("ide: skip probe if there are no devices on
> the port (v2)"). We must check for slave device before failing.
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>

This will mishandle the case where there is no slave in the device
list.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/