From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.29545.1661249542469076823 for ; Tue, 23 Aug 2022 03:12:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=lIXVFe0+; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: deepakx.singh@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661249542; x=1692785542; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Kilgsoo1+eOZLDfN6ETB0dekpinE4B9xo7dRU3tr9Ng=; b=lIXVFe0+zaH8dEAhAUytkA+VRO5HdERvP93YwS5cXjTdmkp0OfvykS57 whfFDI1Mc7GCaRqyGqFEmeiGnIDdf/K26EGgNRGrsCoLrPftDmF63Ag+6 Z2j4vs5XtJAP2kBu4QYaGa9xg2/k2brbdbRTqUl7LqLR2qlTH6NKJP0FI 45bhHFIgXTIfbhafFBLKMtJExK8MP4Osym5QLcXMeXUnONUJmuUrqQBE5 5VFSowYTDD4eYLEDuhLVZKIQqE3x0iUzTis0rUZwHyRX0Jjtn/Feu3YHh +RSg+PkEpoHgHQil9qxC84EK6hXUQNqfCJHTy6kWm0OgofKFgwkKN+w+6 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10447"; a="273399786" X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="273399786" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 03:12:13 -0700 X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="735432331" Received: from bacfd007.gar.corp.intel.com ([10.66.244.233]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 03:12:11 -0700 From: Deepak Singh To: devel@edk2.groups.io Cc: Deepak Singh , Ray Ni , Rangasai V Chaganty , Isaac Oram , Ashraf Ali S , Ovais F Pir Subject: [PATCH] IntelSiliconPkg: Fix DEBUG macros having incorrect number of arguments Date: Tue, 23 Aug 2022 15:41:47 +0530 Message-Id: <5772c493456f9e5c7ac7c669d3f9d07084c9b8f0.1661249378.git.deepakx.singh@intel.com> X-Mailer: git-send-email 2.30.2.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4027 Signed-off-by: Deepak Singh Cc: Ray Ni Cc: Rangasai V Chaganty Cc: Isaac Oram Cc: Ashraf Ali S Cc: Ovais F Pir --- .../IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.c | 2 +- .../Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.c b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.c index aa2bf14fa8..7a70dc7aea 100644 --- a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.c +++ b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.c @@ -488,7 +488,7 @@ DoMeasurementsFromDigestRegister ( DEBUG((DEBUG_INFO, "\n")); } - DEBUG((DEBUG_INFO, "ExtendDigestRegister...\n", ExtendDigestRegister)); + DEBUG((DEBUG_INFO, "ExtendDigestRegister...\n")); ExtendDigestRegister (PciIo, DeviceSecurityPolicy, TcgAlgId, DigestSel, Digest, DeviceSecurityState); } } diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c index c7a56cf571..ef1737b1b6 100644 --- a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c +++ b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c @@ -642,7 +642,7 @@ DumpVtdVerRegs ( IN VTD_VER_REG *VerReg ) { - DEBUG ((DEBUG_INFO, " VerReg:\n", VerReg->Uint32)); + DEBUG ((DEBUG_INFO, " VerReg - 0x%x\n", VerReg->Uint32)); DEBUG ((DEBUG_INFO, " Major - 0x%x\n", VerReg->Bits.Major)); DEBUG ((DEBUG_INFO, " Minor - 0x%x\n", VerReg->Bits.Minor)); } @@ -657,7 +657,7 @@ DumpVtdCapRegs ( IN VTD_CAP_REG *CapReg ) { - DEBUG((DEBUG_INFO, " CapReg:\n", CapReg->Uint64)); + DEBUG((DEBUG_INFO, " CapReg - 0x%x\n", CapReg->Uint64)); DEBUG((DEBUG_INFO, " ND - 0x%x\n", CapReg->Bits.ND)); DEBUG((DEBUG_INFO, " AFL - 0x%x\n", CapReg->Bits.AFL)); DEBUG((DEBUG_INFO, " RWBF - 0x%x\n", CapReg->Bits.RWBF)); @@ -688,7 +688,7 @@ DumpVtdECapRegs ( IN VTD_ECAP_REG *ECapReg ) { - DEBUG((DEBUG_INFO, " ECapReg:\n", ECapReg->Uint64)); + DEBUG((DEBUG_INFO, " ECapReg - 0x%x\n", ECapReg->Uint64)); DEBUG((DEBUG_INFO, " C - 0x%x\n", ECapReg->Bits.C)); DEBUG((DEBUG_INFO, " QI - 0x%x\n", ECapReg->Bits.QI)); DEBUG((DEBUG_INFO, " DT - 0x%x\n", ECapReg->Bits.DT)); -- 2.30.2.windows.1