audk/MdeModulePkg
Laszlo Ersek c4b6f26281 MdeModulePkg: NvmExpressDxe: clean up NvmeRead() / NvmeWrite() debug msgs
These workhorse functions are part of the BlockIo protocol that
NvmExpressDxe produces. For bulk data access, they are called very
frequently. Their debug messages should be therefore downgraded to
EFI_D_VERBOSE.

In addition, the following DEBUG() warts are cleaned up:

- The function name should be printed with %a / __FUNCTION__, so that
  renaming the function, or copying the DEBUG() elsewhere, be reflected in
  the debug output automatically. (In fact, after this patch, the DEBUG()
  calls become identical.)

- "Lba" is of type UINT64, therefore it should be printed with %Lx, not
  %x.

- "OrginalBlocks" and "Blocks" are both UINTN. The only portable way to
  print UINTN is to convert it to UINT64 manually, then format it with the
  %Lx (or %Lu) conversion specifier.

Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19763 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-28 11:03:15 +00:00
..
Application MdeModulePkg/BootManagerMenu: Fix bug that boots to undesired option 2015-12-25 02:45:57 +00:00
Bus MdeModulePkg: NvmExpressDxe: clean up NvmeRead() / NvmeWrite() debug msgs 2016-01-28 11:03:15 +00:00
Core MdeModulePkg/PeiCore: Fix the debug info of PEI temp heap length 2016-01-28 08:08:57 +00:00
Include MdeModulePkg: Add new library class PciHostBridgeLib 2016-01-18 04:49:22 +00:00
Library MdeModulePkg:Modify related files because of rename action 2016-01-19 03:30:57 +00:00
Logo MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Universal MdeModulePkg:Restore the HiiValue for string opcode 2016-01-27 02:35:36 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt
MdeModulePkg.dec MdeModulePkg: Add new library class PciHostBridgeLib 2016-01-18 04:49:22 +00:00
MdeModulePkg.dsc MdeModulePkg: Add NOOPT target in MdeModulePkg.dsc 2016-01-19 04:05:51 +00:00
MdeModulePkg.uni MdeModulePkg: Fix 'accroding' typos in MdeModulePkg.dec/.uni 2016-01-06 01:13:07 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00