diff options
| author | Christian Borntraeger <[email protected]> | 2009-05-26 13:46:09 +0000 |
|---|---|---|
| committer | Rusty Russell <[email protected]> | 2009-06-12 12:46:40 +0000 |
| commit | c89e80168ba1ed37627fe03116b0cf8474dcb7e0 (patch) | |
| tree | 3314d284cca77dc81913877d1cf58838186e7e85 /scripts/mod/file2alias.c | |
| parent | virtio: handle short buffers in virtio_rng. (diff) | |
| download | kernel-c89e80168ba1ed37627fe03116b0cf8474dcb7e0.tar.gz kernel-c89e80168ba1ed37627fe03116b0cf8474dcb7e0.zip | |
virtio: fix id_matching for virtio drivers
This bug never appeared, since all current virtio drivers use
VIRTIO_DEV_ANY_ID for the vendor field. If a real vendor would be used,
the check in virtio_id_match is wrong - it returns 0 if
id->vendor == dev->id.vendor.
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
