From db273162f37d3ba8cb1f3b30fd9224e34e0fad8a Mon Sep 17 00:00:00 2001 From: Michael Friesen <3517159+mtfriesen@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:13:47 -0500 Subject: [PATCH] xdpmp: use correct alignment macro for type (#738) --- test/xdpmp/miniport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/xdpmp/miniport.c b/test/xdpmp/miniport.c index 386454ae..89553089 100644 --- a/test/xdpmp/miniport.c +++ b/test/xdpmp/miniport.c @@ -393,7 +393,7 @@ MpInitialize( } Adapter->MdlSize = (UINT32)MmSizeOfMdl((VOID *)(PAGE_SIZE - 1), Adapter->RxBufferLength); - Adapter->MdlSize = ALIGN_UP(Adapter->MdlSize, MEMORY_ALLOCATION_ALIGNMENT); + Adapter->MdlSize = ALIGN_UP_BY(Adapter->MdlSize, MEMORY_ALLOCATION_ALIGNMENT); if (Adapter->MdlSize > MAXUSHORT) { TraceError( TRACE_CONTROL, "NdisMiniportHandle=%p Error: MdlSize too large MdlSize=%lu",