From nobody Mon Apr 29 16:26:13 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1497850139619836.221336813903; Sun, 18 Jun 2017 22:28:59 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8667521A07A94; Sun, 18 Jun 2017 22:27:35 -0700 (PDT) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E342321C8F618 for ; Sun, 18 Jun 2017 22:27:33 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP; 18 Jun 2017 22:28:54 -0700 Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by orsmga004.jf.intel.com with ESMTP; 18 Jun 2017 22:28:53 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,359,1493708400"; d="scan'208";a="99273643" From: Hao Wu To: edk2-devel@lists.01.org Date: Mon, 19 Jun 2017 13:28:30 +0800 Message-Id: <20170619052830.5984-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [edk2] [PATCH] MdePkg/BluetoothConfig: Update comments for GetData/GetRemoteData X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hao Wu , Ruiyu Ni MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Updates the GetData and GetRemoteData services description comments according to latest UEFI spec. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Ruiyu Ni --- MdePkg/Include/Protocol/BluetoothConfig.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MdePkg/Include/Protocol/BluetoothConfig.h b/MdePkg/Include/Pro= tocol/BluetoothConfig.h index 4240ef0a14..1460ee9eb6 100644 --- a/MdePkg/Include/Protocol/BluetoothConfig.h +++ b/MdePkg/Include/Protocol/BluetoothConfig.h @@ -1,5 +1,5 @@ /** @file - EFI Bluetooth Configuration Protocol as defined in UEFI 2.5. + EFI Bluetooth Configuration Protocol as defined in UEFI 2.7. This protocol abstracts user interface configuration for Bluetooth devic= e. =20 Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED. =20 @par Revision Reference: =20 - This Protocol is introduced in UEFI Specification 2.5 + This Protocol is introduced in UEFI Specification 2.7 =20 **/ =20 @@ -273,11 +273,11 @@ EFI_STATUS @retval EFI_SUCCESS The Bluetooth configuration data is return= ed successfully. @retval EFI_INVALID_PARAMETER One or more of the following conditions is= TRUE: - DataSize is NULL. - - *DataSize is 0. - - Data is NULL. + - *DataSize is not 0 and Data is NULL. @retval EFI_UNSUPPORTED The DataType is unsupported. @retval EFI_NOT_FOUND The DataType is not found. @retval EFI_BUFFER_TOO_SMALL The buffer is too small to hold the buffer. + *DataSize has been updated with the size n= eeded to complete the request. =20 **/ typedef=20 @@ -327,11 +327,11 @@ EFI_STATUS @retval EFI_SUCCESS The remote Bluetooth device configuration = data is returned successfully. @retval EFI_INVALID_PARAMETER One or more of the following conditions is= TRUE: - DataSize is NULL. - - *DataSize is 0. - - Data is NULL. + - *DataSize is not 0 and Data is NULL. @retval EFI_UNSUPPORTED The DataType is unsupported. @retval EFI_NOT_FOUND The DataType is not found. @retval EFI_BUFFER_TOO_SMALL The buffer is too small to hold the buffer. + *DataSize has been updated with the size n= eeded to complete the request. =20 **/ typedef=20 --=20 2.12.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel