On 3/24/21 1:54 PM, Philippe Mathieu-Daudé wrote:
+for (i = 0; i < ARRAY_SIZE(d->bus); i++) {
+ide_bus_new(>bus[i], sizeof(d->bus[i]), ds, i, MAX_IDE_DEVS);
I bet nothing good happens if this value is ever not 2, but I bet that's
no worse than the current reality. :)
ACK
On 3/24/21 11:54 AM, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/via.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson
r~
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/via.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/ide/via.c b/hw/ide/via.c
index be09912b334..6c667a92130 100644
--- a/hw/ide/via.c
+++ b/hw/ide/via.c
@@ -90,7 +90,7 @@ static void