Re: [PATCH] ide: ide_port_wait_ready() fix
From: David Miller <davem@davemloft.net>
Date: 2011-10-11 19:17:45
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2011-10-11 19:17:45
Also in:
lkml
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Date: Tue, 11 Oct 2011 19:13:18 +0200
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
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@gmail.com>This will mishandle the case where there is no slave in the device list.