From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 F130121C8F618 for ; Sun, 18 Jun 2017 22:31:21 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP; 18 Jun 2017 22:32:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,359,1493708400"; d="scan'208";a="114743407" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 18 Jun 2017 22:32:42 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Jun 2017 22:32:42 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Jun 2017 22:32:42 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.151]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.197]) with mapi id 14.03.0319.002; Mon, 19 Jun 2017 13:32:40 +0800 From: "Ni, Ruiyu" To: "Wu, Hao A" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH] MdePkg/BluetoothConfig: Update comments for GetData/GetRemoteData Thread-Index: AQHS6Lz9QmhXnRRL+UC1K5+ns9CydaIrqQ8g Date: Mon, 19 Jun 2017 05:32:39 +0000 Deferred-Delivery: Mon, 19 Jun 2017 05:32:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B99BFC5@SHSMSX104.ccr.corp.intel.com> References: <20170619052830.5984-1-hao.a.wu@intel.com> In-Reply-To: <20170619052830.5984-1-hao.a.wu@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: , X-List-Received-Date: Mon, 19 Jun 2017 05:31:22 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: Wu, Hao A > Sent: Monday, June 19, 2017 1:29 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Ni, Ruiyu > Subject: [PATCH] MdePkg/BluetoothConfig: Update comments for > GetData/GetRemoteData >=20 > Updates the GetData and GetRemoteData services description comments > according to latest UEFI spec. >=20 > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hao Wu > --- > MdePkg/Include/Protocol/BluetoothConfig.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) >=20 > diff --git a/MdePkg/Include/Protocol/BluetoothConfig.h > b/MdePkg/Include/Protocol/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 dev= ice. >=20 > Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.
= @@ - > 12,7 +12,7 @@ > WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. >=20 > @par Revision Reference: > - 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 retu= rned > 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 buff= er. > + *DataSize has been updated with the size= needed to > complete the request. >=20 > **/ > typedef > @@ -327,11 +327,11 @@ EFI_STATUS > @retval EFI_SUCCESS The remote Bluetooth device configuratio= n 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 buff= er. > + *DataSize has been updated with the size= needed to > complete the request. >=20 > **/ > typedef > -- > 2.12.0.windows.1