From nobody Mon Feb 9 23:43:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+92791+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92791+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1661399362; cv=none; d=zohomail.com; s=zohoarc; b=Gp46s2Gl6bZUGNmp+//hNwJFh8KU4zVKtqeuXvTfJum2w0TGtgvsMiH3y6oPE6Ad0BVtvqh60uKPn/fz3EJnqFgOidwlcsBfjszGS8wE/lTYjtul9VFyM0W6coh38MK1BH2bwx3QjhY7DC8bzYhkyO8rScsXS0yk+s8bQBFknxY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1661399362; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=G7r5QdfzogjgYKXHXCWBj3Ou1G6JmrLGfErEDmNhlIE=; b=DTGBICJE66d2eiqxbpIRzpE+yk6uY5WDCjCmVpHK8lhjJ4zHJlIosLW0CA4C10+Vopt9jDHcPRdKx36OmOtp5myxbt5Y/mUEPmjMBfBf02dclTHCchkais8qrB2AOfuXtXGjgK/03ehy3vxyMr4X+KyU7knNJWItC/dwsvQ1jGk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92791+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1661399362265724.2100624944152; Wed, 24 Aug 2022 20:49:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id J0olYY1788612x9CzSCn4Ee4; Wed, 24 Aug 2022 20:49:21 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web09.20173.1661399361279920686 for ; Wed, 24 Aug 2022 20:49:21 -0700 X-Received: from localhost.localdomain (unknown [47.195.228.134]) by linux.microsoft.com (Postfix) with ESMTPSA id 3915C212599F; Wed, 24 Aug 2022 20:49:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3915C212599F From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Qi Zhang , Rahul Kumar , Jiewen Yao Subject: [edk2-devel] [PATCH v2 5/8] SecurityPkg/SmmTcg2PhysicalPresenceLib: Add missing debug print specifier Date: Wed, 24 Aug 2022 23:48:21 -0400 Message-Id: <20220825034824.4044-6-mikuback@linux.microsoft.com> In-Reply-To: <20220825034824.4044-1-mikuback@linux.microsoft.com> References: <20220825034824.4044-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com X-Gm-Message-State: A3q4lknijqbceoQsJnNkntbPx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1661399361; bh=byeE2Rs9TRNw+WVj826C8yEKpx5IhAhu4vjHYfpksP8=; h=Cc:Date:From:Reply-To:Subject:To; b=QyekMtjxQodkjpB7j4slvlqVDvE+RppBbj+fD6N8XFRsyDugYprqLbGODsSNjA3Cj1X 8YxTm9/+Eq6uk6ogvVeu/o6IT/VQvLtz29dVg8hl8nBCN1R2bHPlUcQeppmM/n/OF9mm7 JAlBlSPXNhh7fAm+qGUnHHoyCXZlweaIQ/E= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1661399363577100001 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki The debug macro modified in this change was missing a print specifier for a debug message argument given. Cc: Jiewen Yao Cc: Jian J Wang Cc: Qi Zhang Cc: Rahul Kumar Signed-off-by: Michael Kubacki Reviewed-by: Jiewen Yao --- SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibCo= mmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalP= resenceLibCommon.c b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2P= hysicalPresenceLibCommon.c index 1fbfc00547cd..f2ab4f125007 100644 --- a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresence= LibCommon.c +++ b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresence= LibCommon.c @@ -176,7 +176,7 @@ Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunctionEx ( // Sync PPRQ/PPRM from PP Variable if PP submission fails // if (ReturnCode !=3D TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) { - DEBUG ((DEBUG_ERROR, "[TPM2] Submit PP Request failure! Sync PPRQ/PPRM= with PP variable.\n", Status)); + DEBUG ((DEBUG_ERROR, "[TPM2] Submit PP Request failure! Sync PPRQ/PPRM= with PP variable. Status =3D %r\n", Status)); DataSize =3D sizeof (EFI_TCG2_PHYSICAL_PRESENCE); ZeroMem (&PpData, DataSize); Status =3D mTcg2PpSmmVariable->SmmGetVariable ( --=20 2.28.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92791): https://edk2.groups.io/g/devel/message/92791 Mute This Topic: https://groups.io/mt/93242251/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-