Skip to content

KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd

Reiji Watanabe kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fdtools/testing/selftests/kvm/lib/elf.c+2 -01 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchOliver UptonAndrew JonesSean Christopherson
1/1R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/1] KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd

kvm_vm_elf_load() and elfhdr_get() open one file each, but they never close the opened file descriptor. Fix those two functions to close the file descriptor.

This patch is the same as the one included in the patch series [1], with minor updates to the commit log (including adding Reviewed-bys I got).

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/

Reiji Watanabe (1):
KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd

 tools/testing/selftests/kvm/lib/elf.c | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
2.39.0.314.g84b9a713c41-goog