|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 2/2] Fix the display of GnttabDebugCallback Address
PFN_NUMBER is an ULONG and needs to be upcasted first.
Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
---
src/xenbus/gnttab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xenbus/gnttab.c b/src/xenbus/gnttab.c
index ea95edf..71f8ec1 100644
--- a/src/xenbus/gnttab.c
+++ b/src/xenbus/gnttab.c
@@ -816,7 +816,7 @@ GnttabDebugCallback(
PXENBUS_GNTTAB_FRAME Frame = &Context->Frame[Index];
PHYSICAL_ADDRESS Address;
- Address.QuadPart = MmGetMdlPfnArray(Frame->Mdl)[0] << PAGE_SHIFT;
+ Address.QuadPart = (LONGLONG)MmGetMdlPfnArray(Frame->Mdl)[0] <<
PAGE_SHIFT;
XENBUS_DEBUG(Printf,
&Context->DebugInterface,
--
2.53.0.windows.2
--
Ngoc Tu Dinh | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |