On Tue, Nov 29, 2016 at 12:13:38PM +0100, Uwe Kleine-König wrote: > If the nr-ports property is missing ata_host_alloc_pinfo is called with > n_ports = 0. This results in host->ports[0] = NULL which later makes > mv_init_host() oops when dereferencing this pointer. > > Instead be a bit more cooperative and fail the probing with an error > message. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Applied to libata/for-4.9-fixes. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html