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.4502.1662157363688002311 for ; Fri, 02 Sep 2022 15:22:43 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=bL4ZdmPw; 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 0BC4720477A4; Fri, 2 Sep 2022 15:22:42 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0BC4720477A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1662157363; bh=jJdwbvWjsiJzoibkYZyiGp7OSWXFdZXu7BlUJloGc4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bL4ZdmPw0cd5eZoR+2B2zEOn3yzqAp1Lqkhqrr2n9Dh55fb9cwpxHAhnBZPrfBaS9 faS6vd94Nw26FFi35OHrlivXRHR4rmxZkYR+gq6goLsfeiLiuLBb6X8DUXasU1MhUV 3qeCyQ497GnduNOiy+RljNhsTBA/qawBGceabbv8= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Ray Ni Subject: [PATCH v3 2/8] FatPkg/FatPei: Remove extraneous debug message argument Date: Fri, 2 Sep 2022 18:22:00 -0400 Message-Id: <20220902222206.1509-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220902222206.1509-1-mikuback@linux.microsoft.com> References: <20220902222206.1509-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki This debug macro should take one argument based on the number of print specifiers defined. However, two arguments are given. It looks like the code may have been refactored such that the second argument was moved to a new print and this argument was not removed. In any case, it should not be there now. Cc: Ray Ni Signed-off-by: Michael Kubacki --- FatPkg/FatPei/Gpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FatPkg/FatPei/Gpt.c b/FatPkg/FatPei/Gpt.c index 0a1a25ceeff1..9e17ce88086f 100644 --- a/FatPkg/FatPei/Gpt.c +++ b/FatPkg/FatPei/Gpt.c @@ -361,7 +361,7 @@ PartitionCheckGptEntryArray ( =20 PrivateData->BlockDeviceCount++; =20 - DEBUG ((DEBUG_INFO, "Find GPT Partition [0x%lx", PartitionEntryBuffe= r[Index].StartingLBA, BlockDevPtr->LastBlock)); + DEBUG ((DEBUG_INFO, "Find GPT Partition [0x%lx", PartitionEntryBuffe= r[Index].StartingLBA)); DEBUG ((DEBUG_INFO, ", 0x%lx]\n", BlockDevPtr->LastBlock)); DEBUG ((DEBUG_INFO, " BlockSize %x\n", BlockDevPtr->BlockSiz= e)); } --=20 2.28.0.windows.1