[PATCH 0/3] KVM: Fix sparse warnings.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using the command like: 'make C=1 xxxx', the sparse tool will complain
about warnings like:

warning: symbol 'XXX' was not declared. Should it be static?
warning: Using plain integer as NULL pointer
...

And also, if the symbols will only used locally, shouldn't it be static?


Xiubo Li (3):
  KVM: X86: Avoid using plain integer as NULL pointer warning.
  KVM: X86: For the symbols used locally only should be static type.
  KVM: For the symbols used locally only should be static type.

 arch/x86/kvm/pmu.c  |  2 +-
 arch/x86/kvm/svm.c  |  3 ++-
 arch/x86/kvm/x86.c  | 13 ++++++++-----
 virt/kvm/kvm_main.c |  2 +-
 4 files changed, 12 insertions(+), 8 deletions(-)

-- 
1.9.1



--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux