Message ID | 20090526135140.796154000@de.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux-next/drivers/virtio/virtio.c =================================================================== --- linux-next.orig/drivers/virtio/virtio.c +++ linux-next/drivers/virtio/virtio.c @@ -61,7 +61,7 @@ static inline int virtio_id_match(const if (id->device != dev->id.device) return 0; - return id->vendor == VIRTIO_DEV_ANY_ID || id->vendor != dev->id.vendor; + return id->vendor == VIRTIO_DEV_ANY_ID || id->vendor == dev->id.vendor; } /* This looks through all the IDs a driver claims to support. If any of them