From: Jack Lange Date: Fri, 22 May 2009 17:15:30 +0000 (-0500) Subject: update to coding standards X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=7ddf7f8c9b007c3405146e001d9f3689723f7d4d update to coding standards --- diff --git a/palacios/src/devices/ide.c b/palacios/src/devices/ide.c index 2b04002..80f76b2 100644 --- a/palacios/src/devices/ide.c +++ b/palacios/src/devices/ide.c @@ -1526,10 +1526,11 @@ struct vm_device * v3_create_ide(struct vm_device * pci_bus, struct vm_device * struct vm_device * device = v3_create_device("IDE", &dev_ops, ide); ide->pci_bus = pci_bus; - if (ide->southbridge) + if (ide->southbridge) { ide->southbridge = (struct v3_southbridge *)(southbridge_dev->private_data); - else + } else { ide->southbridge = NULL; + } PrintDebug("IDE: Creating IDE bus x 2\n");