From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com []) by mx.groups.io with SMTP id smtpd.web12.2211.1587022450060282729 for ; Thu, 16 Apr 2020 00:34:10 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: guomin.jiang@intel.com) IronPort-SDR: E/3G17dpivM3wOv446nLOxqWUFcXBf38GWxjCzTA0f/tek3bvJxiVbTRcdUqJgoEpek2mghYnJ XsxqiEzRkUDA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 00:34:04 -0700 IronPort-SDR: t5+DExDub28ELpTPLcjxBSf/FfW7qIFgmLc4nDbqZxclacNgl+46bvwxC8YTw4RLlDWJDTbdLV Gii+tJ20mVEQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,390,1580803200"; d="scan'208";a="288803657" Received: from guominji-mobl.ccr.corp.intel.com ([10.238.5.173]) by fmsmga002.fm.intel.com with ESMTP; 16 Apr 2020 00:34:03 -0700 From: "Guomin Jiang" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu , Dandan Bi , Liming Gao Subject: [PATCH v2 5/6] MdeModulePkg/SecurityStubDxe: Mark the File parameter as OPTIONAL Date: Thu, 16 Apr 2020 15:33:53 +0800 Message-Id: <20200416073354.2232-6-guomin.jiang@intel.com> X-Mailer: git-send-email 2.25.1.windows.1 In-Reply-To: <20200416073354.2232-1-guomin.jiang@intel.com> References: <20200416073354.2232-1-guomin.jiang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2652 According to the description, the File is optional and can be NULL Signed-off-by: Guomin Jiang Cc: Jian J Wang Cc: Hao A Wu Cc: Dandan Bi Cc: Liming Gao --- MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c b/MdeMod= ulePkg/Universal/SecurityStubDxe/SecurityStub.c index 3ed9527561..79f98b28e5 100644 --- a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c +++ b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c @@ -129,7 +129,7 @@ EFI_STATUS EFIAPI=0D Security2StubAuthenticate (=0D IN CONST EFI_SECURITY2_ARCH_PROTOCOL *This,=0D - IN CONST EFI_DEVICE_PATH_PROTOCOL *File,=0D + IN CONST EFI_DEVICE_PATH_PROTOCOL *File, OPTIONAL=0D IN VOID *FileBuffer,=0D IN UINTN FileSize,=0D IN BOOLEAN BootPolicy=0D --=20 2.25.1.windows.1