Michael S. Tsirkin 69c8944f17 ich/ahci: fix uninitialized memory use
The commit 667bb59d2358daeef179583c944becba3f1f9680
uses d->ahci.mem before it is initialized by
ahci_init(). Fix this by calling ahci_init() first thing
so that it's safe to use all fields in the ahci state struct.

Reported-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Reported-by: Jan Kiszka <jan.kiszka@web.de>
Tested-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2011-05-16 14:23:45 +03:00
..
2011-05-03 11:29:21 +02:00
2010-12-17 19:57:21 +01:00
2011-04-27 16:20:27 +02:00
2011-05-16 14:23:45 +03:00
2011-04-27 16:20:27 +02:00
2010-12-17 16:11:01 +01:00
2011-02-21 15:46:53 +01:00
2011-02-21 15:46:53 +01:00