Re: [PATCH 5/6] KVM: selftests: Add wrappers for mmap() and munmap() to assert success
From: David Hildenbrand
Date: Mon Sep 29 2025 - 05:28:07 EST
On 26.09.25 18:31, Sean Christopherson wrote:
Add and use wrappers for mmap() and munmap() that assert success to reduce
a significant amount of boilerplate code, to ensure all tests assert on
failure, and to provide consistent error messages on failure.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
---
Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>
--
Cheers
David / dhildenb