From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.9699.1659463480499184664 for ; Tue, 02 Aug 2022 11:04:40 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=ZNilHhRx; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.195.228.134]) by linux.microsoft.com (Postfix) with ESMTPSA id 9ECD020FEB71; Tue, 2 Aug 2022 11:04:38 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9ECD020FEB71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1659463480; bh=Xix9EWkv1DGMbqp7NXC+z5IO3ZTyi7/TP3D7E/ttxQg=; h=From:To:Cc:Subject:Date:From; b=ZNilHhRxzw8/5wBCftDeYYRqAW16FTWudN1H/C3eUsWdDfwHG8ZhzpKDdr7e5Rj/F fU6afHkQj76UD6RPI0RRsfjVX1PUilpKZNDHzYkY9oXaoLs5Q3/BgkutSXdSvfQXew DJ47slf52OPZ3jcXT7vdLzs41+XH55WXX83Bj2tU= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Abner Chang , Ard Biesheuvel , Dandan Bi , Guomin Jiang , Hao A Wu , Jian J Wang , Jiewen Yao , Leif Lindholm , Liming Gao , Nickle Wang , Qi Zhang , Rahul Kumar , Ray Ni Subject: [PATCH v1 0/5] Fix imbalanced debug macros Date: Tue, 2 Aug 2022 14:04:13 -0400 Message-Id: <20220802180418.880-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki After noticing a few occurrences of DEBUG macros with a mismatched number of arguments, I wrote a script to automatically detect this. This patch series is the result of matches found by the script. I would like to eventually check the script in as a build plugin but that will require a bit more finishing touches and testing. For now, this series fixes the problems. Cc: Abner Chang Cc: Ard Biesheuvel Cc: Dandan Bi Cc: Guomin Jiang Cc: Hao A Wu Cc: Jian J Wang Cc: Jiewen Yao Cc: Leif Lindholm Cc: Liming Gao Cc: Nickle Wang Cc: Qi Zhang Cc: Rahul Kumar Cc: Ray Ni Signed-off-by: Michael Kubacki Michael Kubacki (5): ArmPlatformPkg/NorFlashDxe: Remove unused debug print specifier FatPkg/FatPei: Remove extraneous debug message argument MdeModulePkg: Fix imbalanced debug macros RedfishPkg/RedfishRestExDxe: Remove extra debug macro argument SecurityPkg/SmmTcg2PhysicalPresenceLib: Add missing debug print specifier ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c = | 4 ++-- FatPkg/FatPei/Gpt.c = | 2 +- MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c = | 2 +- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c = | 8 ++++---- MdeModulePkg/Core/Dxe/Image/Image.c = | 2 +- MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgr= essLibGraphics.c | 2 +- RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c = | 2 +- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLib= Common.c | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) --=20 2.28.0.windows.1