[PATCH v2 0/2] hw/block/nvme: coverity fixes

Klaus Jensen posted 2 patches 3 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210322120944.225643-1-its@irrelevant.dk
Maintainers: Keith Busch <kbusch@kernel.org>, Klaus Jensen <its@irrelevant.dk>, Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>
hw/block/nvme-dif.c |  2 +-
hw/block/nvme.c     | 10 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
[PATCH v2 0/2] hw/block/nvme: coverity fixes
Posted by Klaus Jensen 3 years, 1 month ago
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


Re: [PATCH v2 0/2] hw/block/nvme: coverity fixes
Posted by Klaus Jensen 3 years, 1 month ago
On Mar 22 13:09, Klaus Jensen wrote:
> 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(-)
> 

Gentle ping on this so Peter can get the coverity issues off the list ;)