Re: [PATCH] AHCI: fix Null pointer dereference in achi_host_active()

From: Sergei Shtylyov
Date: Tue Jul 16 2013 - 07:48:23 EST


Hello.

On 16-07-2013 9:18, Xiaotian Feng wrote:

commit b29900e6 introuded a regression, which resulted Null pointer

Please also specify that commit's summary in parens.

dereference for achi host with dummy ports. For ahci ports, when the
port is dummy port, its private_data will be NULL, as ata_dummy_port_ops
doesn't support ->port_start.

Reported-and-tested-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
Signed-off-by: Xiaotian Feng <xtfeng@xxxxxxxxx>
Cc: Alexander Gordeev <agordeev@xxxxxxxxxx>
Cc: Tejun Heo <tj@xxxxxxxxxx>
Cc: linux-ide@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

MBR, Sergei


--
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/