* [PATCH 2/3] virtio: virtio_pci should not set bus_id.
@ 2008-05-23 2:48 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2008-05-23 2:48 UTC (permalink / raw)
To: linux-kernel
Cc: Christian Borntraeger, Martin Schwidefsky, Carsten Otte,
Heiko Carstens, Chris Lalancette, Anthony Liguori, virtualization,
Martin Schwidefsky, Carsten Otte, Heiko Carstens,
Chris Lalancette, Anthony Liguori
The common virtio code sets the bus_id, overriding anything virtio_pci
sets anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Carsten Otte <cotte@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Chris Lalancette <clalance@redhat.com>
Cc: Anthony Liguori <anthony@codemonkey.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++;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-23 2:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 2:48 [PATCH 2/3] virtio: virtio_pci should not set bus_id Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox