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.web08.9593.1659463493225633700 for ; Tue, 02 Aug 2022 11:04:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=oMRA1Qqz; 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 7959D20FF4EA; Tue, 2 Aug 2022 11:04:52 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7959D20FF4EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1659463492; bh=jJdwbvWjsiJzoibkYZyiGp7OSWXFdZXu7BlUJloGc4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oMRA1QqzUfE4eR3qyQb+irud1DyljjGbyX9eOKKyO0za+/5o6ArlscO9WfJfDSjiO uqIjvXYaW3GB25LhbyAOYL7kYO7MyLN0/SuXd8Dic3iOUKU70ORUWvyqCgk8+KXXix VX2RdmejgVZ0UmXrkLGcPl7fEOD4jpn698KJ0ZkE= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Ray Ni Subject: [PATCH v1 2/5] FatPkg/FatPei: Remove extraneous debug message argument Date: Tue, 2 Aug 2022 14:04:15 -0400 Message-Id: <20220802180418.880-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220802180418.880-1-mikuback@linux.microsoft.com> References: <20220802180418.880-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