diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-18 08:48:36 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-18 08:48:36 +0000 |
commit | 7df7393feb90e87c32f5473af14eec7562b09ce3 (patch) | |
tree | 00e220c92b78da54e074ef742ee8392852f864a5 /MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c | |
parent | d20c09b28247c7e839072d3a21f542de95abb246 (diff) | |
download | edk2-platforms-7df7393feb90e87c32f5473af14eec7562b09ce3.tar.xz |
check the usage of %d,%x,%ld,%lx and so on in debug print statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7080 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c index ca3e2524db..7177c33aa7 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c @@ -87,7 +87,7 @@ EhcDumpQtd ( DEBUG ((EFI_D_INFO, Msg));
}
- DEBUG ((EFI_D_INFO, "Queue TD @ 0x%x, data length %d\n", Qtd, Qtd->DataLen));
+ DEBUG ((EFI_D_INFO, "Queue TD @ 0x%p, data length %d\n", Qtd, (UINT32)Qtd->DataLen));
QtdHw = &Qtd->QtdHw;
@@ -114,7 +114,7 @@ EhcDumpQtd ( DEBUG ((EFI_D_INFO, "Data Toggle : %d\n", QtdHw->DataToggle));
for (Index = 0; Index < 5; Index++) {
- DEBUG ((EFI_D_INFO, "Page[%d] : 0x%x\n", Index, QtdHw->Page[Index]));
+ DEBUG ((EFI_D_INFO, "Page[%d] : 0x%x\n", (UINT32)Index, QtdHw->Page[Index]));
}
}
@@ -145,8 +145,8 @@ EhcDumpQh ( DEBUG ((EFI_D_INFO, Msg));
}
- DEBUG ((EFI_D_INFO, "Queue head @ 0x%p, interval %d, next qh %x\n",
- Qh, Qh->Interval, Qh->NextQh));
+ DEBUG ((EFI_D_INFO, "Queue head @ 0x%p, interval %ld, next qh %p\n",
+ Qh, (UINT64)Qh->Interval, Qh->NextQh));
QhHw = &Qh->QhHw;
|