Message ID | 20221220170921.2499209-1-reijiw@google.com (mailing list archive) |
---|---|
Headers | show |
Series | KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd | expand |
On Tue, 20 Dec 2022 09:09:20 -0800, Reiji Watanabe wrote: > 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). > > [...] Applied to kvm-x86 selftests, thanks! [1/1] KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd https://github.com/kvm-x86/linux/commit/a6854fecd0b2 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes