Skip to content
Commit a343c9b7 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: introduce __kvm_io_bus_sort_cmp



kvm_io_bus_sort_cmp is used also directly, not just as a callback for
sort and bsearch.  In these cases, it is handy to have a type-safe
variant.  This patch introduces such a variant, __kvm_io_bus_sort_cmp,
and uses it throughout kvm_main.c.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 9576c4cd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment