From nobody Sun Feb 8 18:30:18 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+83060+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+83060+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1635802675; cv=none; d=zohomail.com; s=zohoarc; b=QaUSs06Mf07YLblx2V9T/iNK2hxNhonwssg568pjPzYEGqP//JtF9eCEBonKX3l9z7UreapWf6eaHA4CfnUrhL4NBQ9TM9M3ygFZ+ilDGZ8iTvhQG+KsHN0Ht66ty8V7Mmgd6V7H68kWrKniwnXi6/pzzAfOiP5mHK8Q5e0Nwqw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635802675; 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=x1Awk7Bs9+nVlqHzLj54q2TIykJXE1yQJ57IEKHug60=; b=OzElQomgOFVrVQOcsmF1jJX00FviJDpd0H+nUBJ9wB9TvngevXSgah4qOIVIHMkDFbbpTGl0P5EGMxUSIMrXK11VzjI+g9BRyvRUORrQP75AOP8vBlRuA3Z6dwbA+A4HG8vUf/mbf8togdby1GYuMEvouSOLaGI1XTh+DASW2rQ= 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+83060+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 163580267496847.97833531991637; Mon, 1 Nov 2021 14:37:54 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id LwPyYY1788612xECDyHxRYqu; Mon, 01 Nov 2021 14:37:54 -0700 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.906.1635802670411204424 for ; Mon, 01 Nov 2021 14:37:52 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="291964419" X-IronPort-AV: E=Sophos;i="5.87,200,1631602800"; d="scan'208";a="291964419" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 14:37:50 -0700 X-IronPort-AV: E=Sophos;i="5.87,200,1631602800"; d="scan'208";a="449113036" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.209.76.205]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 14:37:50 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Michael Kubacki Subject: [edk2-devel] [Patch V2 6/7] SecurityPkg: Reproduce builds across source format changes Date: Mon, 1 Nov 2021 14:37:36 -0700 Message-Id: <20211101213737.586-7-michael.d.kinney@intel.com> In-Reply-To: <20211101213737.586-1-michael.d.kinney@intel.com> References: <20211101213737.586-1-michael.d.kinney@intel.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,michael.d.kinney@intel.com X-Gm-Message-State: 25LgOhXbdDNGDiUiaD5V0Pw0x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1635802674; bh=/JMd7PcAWX7WtdW2DbjwXoHzgKNDliUr3Fr6I+h3Reg=; h=Cc:Date:From:Reply-To:Subject:To; b=j/psGQkWEs3b2J+he3iGdRQ0TN0foUjik1qEFBTx1mJueMxqUZBDm/6Y0kp1WAWi8Of kBaqILWbMqtNzZgT+ni/Z54PpQxxHCFecrdFDpAWOVDc/9QUimynjWfopGw1mu7m3QpHD MfArZBAjlTCq3LLWs5FD5gQ5Qi/Knkt9GXo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1635802676230100016 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3688 Use DEBUG_LINE_NUMBER instead of __LINE__. Cc: Jiewen Yao Cc: Jian J Wang Cc: Michael Kubacki Signed-off-by: Michael D Kinney Reviewed-by: Jiewen Yao --- .../Include/Library/TcgStorageCoreLib.h | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/SecurityPkg/Include/Library/TcgStorageCoreLib.h b/SecurityPkg/= Include/Library/TcgStorageCoreLib.h index 01a44c667c80..a426251d6978 100644 --- a/SecurityPkg/Include/Library/TcgStorageCoreLib.h +++ b/SecurityPkg/Include/Library/TcgStorageCoreLib.h @@ -16,13 +16,13 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 #include =20 -#define ERROR_CHECK(arg) = \ - { = \ - TCG_RESULT ret =3D (arg); = \ - if (ret !=3D TcgResultSuccess) { = \ - DEBUG ((DEBUG_INFO, "ERROR_CHECK failed at %a:%u\n", __FILE__, __LIN= E__)); \ - return ret; = \ - } = \ +#define ERROR_CHECK(arg) = \ + { = \ + TCG_RESULT ret =3D (arg); = \ + if (ret !=3D TcgResultSuccess) { = \ + DEBUG ((DEBUG_INFO, "ERROR_CHECK failed at %a:%u\n", __FILE__, DEBUG= _LINE_NUMBER)); \ + return ret; = \ + } = \ } =20 #define METHOD_STATUS_ERROR_CHECK(arg, failRet) = \ @@ -31,12 +31,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent return (failRet); = \ } =20 -#define NULL_CHECK(arg) = \ - do { = \ - if ((arg) =3D=3D NULL) { = \ - DEBUG ((DEBUG_INFO, "NULL_CHECK(%a) failed at %a:%u\n", #arg, __FILE= __, __LINE__)); \ - return TcgResultFailureNullPointer; = \ - } = \ +#define NULL_CHECK(arg) = \ + do { = \ + if ((arg) =3D=3D NULL) { = \ + DEBUG ((DEBUG_INFO, "NULL_CHECK(%a) failed at %a:%u\n", #arg, __FILE= __, DEBUG_LINE_NUMBER)); \ + return TcgResultFailureNullPointer; = \ + } = \ } while (0) =20 #pragma pack(1) --=20 2.32.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 (#83060): https://edk2.groups.io/g/devel/message/83060 Mute This Topic: https://groups.io/mt/86752907/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-