diff options
author | Michael S. Tsirkin <[email protected]> | 2021-09-13 06:38:36 -0400 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-09-14 18:09:57 -0400 |
commit | 0d818706130e2f4e828c3fc028917677fac76a09 (patch) | |
tree | 6e4a4d37a6fc792300e39fc2ec755d7f1c29b246 /scripts/gdb/linux/utils.py | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
virtio: don't fail on !of_device_is_compatible
A recent change checking of_device_is_compatible on probe broke some
powerpc/pseries setups. Apparently there virtio devices do not have a
"compatible" property - they are matched by PCI vendor/device ids.
Let's just skip of_node setup but proceed with initialization like we
did previously.
Fixes: 694a1116b405 ("virtio: Bind virtio device to device-tree node")
Reported-by: Alexey Kardashevskiy <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Viresh Kumar <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions