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.20055.1661399349120812615 for ; Wed, 24 Aug 2022 20:49:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=l4SOsGLY; 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 611A32125998; Wed, 24 Aug 2022 20:49:08 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 611A32125998 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1661399348; bh=jJdwbvWjsiJzoibkYZyiGp7OSWXFdZXu7BlUJloGc4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l4SOsGLYYZYpTe1Bno8JjbyTabx5YH3xg5lGEK3o/luv0fq/JEJ/kB2tli8phYx2U WrLHiVecWx5qw1G14xFQJEkJzvGRcT4JgWasmtTNdWVRY9Y1nd67wl7aRMlOWE9aA7 AI/uhApiWV5Ao6DC+he+a/2edcujNi4EUh9aapIc= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Ray Ni Subject: [PATCH v2 2/8] FatPkg/FatPei: Remove extraneous debug message argument Date: Wed, 24 Aug 2022 23:48:18 -0400 Message-Id: <20220825034824.4044-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220825034824.4044-1-mikuback@linux.microsoft.com> References: <20220825034824.4044-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