Skip to content

Commit

Permalink
MdeModulePkg/SdDxe: Demote DEBUG print to DEBUG_BLKIO
Browse files Browse the repository at this point in the history
Similar to commit 9dca210, lower the
priority of the DEBUG print in SDReadWrite() to DEBUG_BLKIO.

Cc: Ard Biesheuvel <[email protected]>
Cc: Eric Dong <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
  • Loading branch information
hwu25 committed Jun 13, 2018
1 parent 47dad47 commit 0f4387e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @file
The helper functions for BlockIo and BlockIo2 protocol.
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
Expand Down Expand Up @@ -670,7 +670,7 @@ SdReadWrite (
if (EFI_ERROR (Status)) {
return Status;
}
DEBUG ((EFI_D_INFO, "Sd%a(): Lba 0x%x BlkNo 0x%x Event %p with %r\n", IsRead ? "Read" : "Write", Lba, BlockNum, Token->Event, Status));
DEBUG ((DEBUG_BLKIO, "Sd%a(): Lba 0x%x BlkNo 0x%x Event %p with %r\n", IsRead ? "Read" : "Write", Lba, BlockNum, Token->Event, Status));

Lba += BlockNum;
Buffer = (UINT8*)Buffer + BufferSize;
Expand Down

0 comments on commit 0f4387e

Please sign in to comment.