Zhang Rui wrote: > fix a problem that ata port print_id is used uninitialized. > > port print_id is initialized in ata_host_register, but it's > used in ata_host_start. > Now move it to ata_host_start, before it's invoked for the first time. > > Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx> The idea was to assign print_id after the port is pretty much guaranteed to be registered successfully but doing it earlier shouldn't harm anything really. So, Acked-by: Tejun Heo <tj@xxxxxxxxxx> -- 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