]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/NorFlashDxe: Remove unused debug print specifier
authorMichael Kubacki <michael.kubacki@microsoft.com>
Tue, 2 Aug 2022 11:44:45 +0000 (07:44 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 9 Sep 2022 01:42:39 +0000 (01:42 +0000)
commit917a7e3f347adb0721ff161a68309f51f621eec5
tree0bef871d48a952f8847551bc8f0d657f96de7af9
parent7b8f69d7e10628d473dd225224d8c2122d25a38d
ArmPlatformPkg/NorFlashDxe: Remove unused debug print specifier

These debug messages are repeated in both NorFlashBlockIoReadBlocks()
and NorFlashBlockIoWriteBlocks():

  "NorFlashBlockIoWriteBlocks(MediaId=0x%x, Lba=%ld, BufferSize=0x%x"
  "bytes (%d kB), BufferPtr @ 0x%08x)\n"

Although this requires 5 arguments, only 4 are provided. The kilobyte
value was never given.

This change removes that specifier so the 4 arguments match the 4
specifiers in the debug macro.

Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c