Skip to content
Commit 39369f7a authored by Geoff Levand's avatar Geoff Levand Committed by Gleb Natapov
Browse files

KVM: Make local routines static



The routines get_user_page_nowait(), kvm_io_bus_sort_cmp(), kvm_io_bus_insert_dev()
and kvm_io_bus_get_first_dev() are only referenced within kvm_main.c, so give them
static linkage.

Fixes sparse warnings like these:

  virt/kvm/kvm_main.c: warning: symbol 'get_user_page_nowait' was not declared. Should it be static?

Signed-off-by: default avatarGeoff Levand <geoff@infradead.org>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent fc1b7492
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