linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC] kvm: vgic: are these warnings wrong?
@ 2017-11-14  6:47 AKASHI Takahiro
  2017-11-14  9:07 ` Marc Zyngier
  2017-11-14 13:38 ` Marc Zyngier
  0 siblings, 2 replies; 4+ messages in thread
From: AKASHI Takahiro @ 2017-11-14  6:47 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Marc,

I've just run a static analyzer to v4.14.
While most of warnings/errors are false-positive, as you can easily imagine,
there are something dubious. Can you please check ones below?

virt/kvm/arm/vgic/vgic-v3.c:352 vgic_v3_save_pending_tables() error: uninitialized symbol 'val'.
virt/kvm/arm/vgic/vgic-its.c:424 its_sync_lpi_pending_table() error: uninitialized symbol 'pendmask'.
virt/kvm/arm/vgic/vgic-its.c:779 vgic_its_alloc_collection() error: potential null dereference 'collection'.  (kzalloc returns null)
virt/kvm/arm/vgic/vgic-irqfd.c:115 kvm_vgic_setup_default_irq_routing() warn: double check that we're allocating correct size: 48 vs 64

# I believe that the messages here are self-describing.

Thanks,
-Takahiro AKASHI

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

end of thread, other threads:[~2017-11-15  0:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-14  6:47 [RFC] kvm: vgic: are these warnings wrong? AKASHI Takahiro
2017-11-14  9:07 ` Marc Zyngier
2017-11-15  0:34   ` AKASHI Takahiro
2017-11-14 13:38 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).