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:11 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: guomin.jiang@intel.com) IronPort-SDR: J01MBLOU+dDNL7IUjTpdwubn8prxFCT3qZFsrosHUcxRRgxuqSUhZ3tU4kOVgtsrEf4TO5P6Ga 5FxJhbEPbNEw== 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:06 -0700 IronPort-SDR: fnifXK/3vLykt+ZhF7Lq7/syInYDzyEroQHeHIB0XywI7w/CZNnPqlYlmOi+gLMWbSaXCNArdf 6IApIZDzMt7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,390,1580803200"; d="scan'208";a="288803669" Received: from guominji-mobl.ccr.corp.intel.com ([10.238.5.173]) by fmsmga002.fm.intel.com with ESMTP; 16 Apr 2020 00:34:05 -0700 From: "Guomin Jiang" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao Subject: [PATCH v2 6/6] MdePkg/Security2: Mark the File parameter as OPTIONAL. Date: Thu, 16 Apr 2020 15:33:54 +0800 Message-Id: <20200416073354.2232-7-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: Michael D Kinney Cc: Liming Gao --- MdePkg/Include/Protocol/Security2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Protocol/Security2.h b/MdePkg/Include/Protocol/= Security2.h index 2d85b4ba9f..6a63009956 100644 --- a/MdePkg/Include/Protocol/Security2.h +++ b/MdePkg/Include/Protocol/Security2.h @@ -80,7 +80,7 @@ typedef struct _EFI_SECURITY2_ARCH_PROTOCOL EFI_SECURI= TY2_ARCH_PROTOCOL; **/=0D typedef EFI_STATUS (EFIAPI *EFI_SECURITY2_FILE_AUTHENTICATION) (=0D IN CONST EFI_SECURITY2_ARCH_PROTOCOL *This,=0D - IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,=0D + IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL=0D IN VOID *FileBuffer,=0D IN UINTN FileSize,=0D IN BOOLEAN BootPolicy=0D --=20 2.25.1.windows.1