From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mx.groups.io with SMTP id smtpd.web11.3971.1571226235528779088 for ; Wed, 16 Oct 2019 04:43:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=cTkDB6dw; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.67, mailfrom: pete@akeo.ie) Received: by mail-wr1-f67.google.com with SMTP id y18so18218706wrn.5 for ; Wed, 16 Oct 2019 04:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HRnoRPwDnCSz2GdUQ6CSSZJar22F3kuPReQG2QJOOiQ=; b=cTkDB6dwoJkC+kJeCEPcbIjGZ2pJTzRqpExYC8euc3YjOwokpt9MehzDWWIoB52FUn dNEEUSojLRiSb8lw8k01QvhmeGnpTLPOLHLRaZY7/7ticjn7Vf2JYNpwHf9B1CS+5mOm syisq5bmwfaw4Kx/Dkds8Ywg31SHkbHYAuiJapmi3W9yaoiGq3/XaWJNuWTgdzzS9Zj6 X44pkkk0nJblkAp6+Z2QZlJdXV6B0YQBxrrsUD1EWMIhnxaRy1FtWK9JzwzQOYukXTC4 k6ed+dBevKbnegXM9GJo0xSde91iwqQSdR4ZOqzjVmS/nPnapqmgo5OalhaCL+xlIWnr NrLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HRnoRPwDnCSz2GdUQ6CSSZJar22F3kuPReQG2QJOOiQ=; b=JokRBAI2apOqDxakASs/sIFp12W/jRBwYzTHoKYD/SFnlOxsQGD036uHYoP+cXIvGV UlGRNgxqhk1XYvRad6d16vtZqV4m/lLz94C8ACG1xwOYmZ+6v2g4U6o2bLKXNAYcj6TF zr1EjGS7uNeIxtB5Ci+L7zc0aSOr7GpRgUwo7MtIANzVp5OrkLfAQ7MKoAygeiZd1Kdl TEYfjxE7m/vB3mNbGWXdsucOTFVHCNRd3s79haRCI+0LwLhc4rxMrGFj70I74hZ2oMlX YhOCpmzzeq/1OGB5gSfg+olsWrPxBV0lVKIzD02vFo9PKmE3H3yGthkuYDt2Mbti6ehC ioGg== X-Gm-Message-State: APjAAAXbrQGZO84OGCkzWo/SQzdExgSE1cjsEmYwA4J9TVu5qm53cnY+ ThAZJlKobtk+Du4bWLmOgELy4O8RTJQ= X-Google-Smtp-Source: APXvYqwEA1xvoUdu34WC9JGt/tlqacAe6W6vYHbUgTdHqcOuyMLeYeaQ7l/MlgbjRlyPO88tauR7Jg== X-Received: by 2002:adf:e983:: with SMTP id h3mr2202410wrm.95.1571226233733; Wed, 16 Oct 2019 04:43:53 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.68.221]) by smtp.gmail.com with ESMTPSA id h17sm1943554wmb.33.2019.10.16.04.43.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Oct 2019 04:43:53 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-platforms][PATCH 1/1] RPi3/PlatformSmbiosDxe: Fix use of invalid debug facility Date: Wed, 16 Oct 2019 12:43:41 +0100 Message-Id: <20191016114341.10732-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DEBUG_WARNING was invalid. DEBUG_WARN is the proper channel name to use. Signed-off-by: Pete Batard --- 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) -- 2.21.0.windows.1