[edk2-devel] [edk2-platforms][PATCH 1/1] RPi3/PlatformSmbiosDxe: Fix use of invalid debug facility
Philippe Mathieu-Daudé
philmd at redhat.com
Wed Oct 16 11:56:15 UTC 2019
On 10/16/19 1:43 PM, Pete Batard wrote:
> DEBUG_WARNING was invalid. DEBUG_WARN is the proper channel name to use.
Oops.
Reviewed-by: Philippe Mathieu-Daude <philmd at redhat.com>
>
> Signed-off-by: Pete Batard <pete at akeo.ie>
> ---
> Platform/RaspberryPi/RPi3/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Platform/RaspberryPi/RPi3/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/Platform/RaspberryPi/RPi3/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c
> index 5abc82b8d363..c72a749b6a2a 100644
> --- a/Platform/RaspberryPi/RPi3/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c
> +++ b/Platform/RaspberryPi/RPi3/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c
> @@ -874,7 +874,7 @@ MemArrMapInfoUpdateSmbiosType19 (
> mMemArrMapInfoType19.EndingAddress = 256 * 1024;
> Status = mFwProtocol->GetModelRevision (&BoardRevision);
> if (Status != EFI_SUCCESS) {
> - DEBUG ((DEBUG_WARNING, "Couldn't get the board memory size - defaulting to 256 MB: %r\n", Status));
> + DEBUG ((DEBUG_WARN, "Couldn't get the board memory size - defaulting to 256 MB: %r\n", Status));
> } else {
> // www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
> // Bits [20-22] indicate the amount of memory starting with 256MB (000b)
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#49093): https://edk2.groups.io/g/devel/message/49093
Mute This Topic: https://groups.io/mt/34559236/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list