[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200805231248.11321.rusty@rustcorp.com.au>
Date: Thu, 22 May 2008 21:48:10 -0500
From: Rusty Russell <rusty@...tcorp.com.au>
To: linux-kernel@...r.kernel.org
Cc: Anthony Liguori <anthony@...emonkey.ws>
Subject: [PATCH 2/3] virtio: virtio_pci should not set bus_id.
The common virtio code sets the bus_id, overriding anything virtio_pci
sets anyway.
Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
Cc: Christian Borntraeger <borntraeger@...ibm.com>
Cc: Martin Schwidefsky <schwidefsky@...ibm.com>
Cc: Carsten Otte <cotte@...ibm.com>
Cc: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Chris Lalancette <clalance@...hat.com>
Cc: Anthony Liguori <anthony@...emonkey.ws>
---
drivers/virtio/virtio_pci.c | 1 -
1 file changed, 1 deletion(-)
diff -r 2f0d0ce2adbf drivers/virtio/virtio_pci.c
--- a/drivers/virtio/virtio_pci.c Fri May 23 11:55:02 2008 +1000
+++ b/drivers/virtio/virtio_pci.c Fri May 23 12:23:39 2008 +1000
@@ -325,7 +322,6 @@ static int __devinit virtio_pci_probe(st
if (vp_dev == NULL)
return -ENOMEM;
- snprintf(vp_dev->vdev.dev.bus_id, BUS_ID_SIZE, "virtio%d", dev_index);
vp_dev->vdev.index = dev_index;
dev_index++;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists