qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hw/block/nvme: coverity fixes
@ 2021-03-22 12:09 Klaus Jensen
  2021-03-22 12:09 ` [PATCH v2 1/2] hw/block/nvme: fix resource leak in nvme_dif_rw Klaus Jensen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Klaus Jensen @ 2021-03-22 12:09 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, qemu-block, Klaus Jensen, Max Reitz, Klaus Jensen,
	Keith Busch

From: Klaus Jensen <k.jensen@samsung.com>

Fix two issues reported by coverity (CID 1451080 and 1451082).

v2:
  - replace [2/2] with a fix for the bad reference counting noticed by
    Max

Klaus Jensen (2):
  hw/block/nvme: fix resource leak in nvme_dif_rw
  hw/block/nvme: fix ref counting in nvme_format_ns

 hw/block/nvme-dif.c |  2 +-
 hw/block/nvme.c     | 10 ++++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

-- 
2.31.0



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

end of thread, other threads:[~2021-03-29 13:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 12:09 [PATCH v2 0/2] hw/block/nvme: coverity fixes Klaus Jensen
2021-03-22 12:09 ` [PATCH v2 1/2] hw/block/nvme: fix resource leak in nvme_dif_rw Klaus Jensen
     [not found]   ` <CGME20210329112015epcas5p4dc86c66a4f27d13d3689923d381c5fa6@epcas5p4.samsung.com>
2021-03-29 11:17     ` Gollu Appalanaidu
2021-03-22 12:09 ` [PATCH v2 2/2] hw/block/nvme: fix ref counting in nvme_format_ns Klaus Jensen
     [not found]   ` <CGME20210329124718epcas5p4781757a155f3fd07f8280c388f6fc073@epcas5p4.samsung.com>
2021-03-29 12:44     ` Gollu Appalanaidu
2021-03-24 20:04 ` [PATCH v2 0/2] hw/block/nvme: coverity fixes Klaus Jensen

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).