Kernel KVM virtualization development
 help / color / mirror / Atom feed
* unneeded internal declaration
@ 2017-09-26  3:07 Nick Desaulniers
  2017-09-26  3:35 ` Josh Triplett
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Nick Desaulniers @ 2017-09-26  3:07 UTC (permalink / raw)
  To: josh, Paolo Bonzini, Radim Krčmář
  Cc: kay, avi, kvm, linux-kernel

today I noticed I was getting the warning:

arch/x86/kvm/vmx.c:64:32: warning: variable 'vmx_cpu_id' is not needed
and will not be emitted [-Wunneeded-internal-declaration]

seems like this was added in commit: e9bda3b3d0ce7 "KVM: VMX:
Auto-load on CPUs with VMX"

seems like other call sites of the MODULE_DEVICE_TABLE typically get
added to an id_table of various driver structs.  Should that be the
case here, or would a `__unused` modifier be a way forward (if so,
please confirm, would be a good first bug for a friend)?

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

end of thread, other threads:[~2017-10-04  2:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-26  3:07 unneeded internal declaration Nick Desaulniers
2017-09-26  3:35 ` Josh Triplett
2017-09-26  4:15   ` Nick Desaulniers
2017-09-26  4:25     ` [PATCH] KVM: VMX: check match table Nick Desaulniers
2017-09-26 17:12       ` Josh Triplett
2017-09-27 12:36         ` Paolo Bonzini
2017-09-30 23:22           ` Nick Desaulniers
2017-10-03  9:42             ` Paolo Bonzini
2017-10-04  2:54               ` Nick Desaulniers
2017-10-04  2:58                 ` Nick Desaulniers
2017-09-27 14:14       ` kbuild test robot
2017-09-27 12:38 ` unneeded internal declaration Paolo Bonzini
     [not found] ` <CAK5g=XOWn=nUpa1Q0Oc4CntRX0LbJjbatJKLUgQOCsaba_3hNw@mail.gmail.com>
2017-09-27 12:50   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox