All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: Fix sparse warnings.
@ 2015-03-13  9:39 Xiubo Li
  2015-03-13  9:39 ` [PATCH 1/3] KVM: X86: Avoid using plain integer as NULL pointer warning Xiubo Li
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Xiubo Li @ 2015-03-13  9:39 UTC (permalink / raw)
  To: mtosatti; +Cc: gleb, pbonzini, tglx, mingo, hpa, kvm, Xiubo Li

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-18  1:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-13  9:39 [PATCH 0/3] KVM: Fix sparse warnings Xiubo Li
2015-03-13  9:39 ` [PATCH 1/3] KVM: X86: Avoid using plain integer as NULL pointer warning Xiubo Li
2015-03-13  9:39 ` [PATCH 2/3] KVM: X86: For the symbols used locally only should be static type Xiubo Li
2015-03-13  9:39 ` [PATCH 3/3] KVM: " Xiubo Li
2015-03-13 13:37   ` Christian Borntraeger
2015-03-16  0:45     ` [PATCH 3/3] KVM: For the symbols used locally only should bestatic type Xiubo Li
2015-03-18  1:39 ` [PATCH 0/3] KVM: Fix sparse warnings Marcelo Tosatti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.