diff options
author | Dexuan Cui <decui@microsoft.com> | 2018-09-23 17:10:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-02 18:36:11 -0400 |
commit | fe857bb40fb6788afe6b12b1df50b94e2d363c89 (patch) | |
tree | cf7cb6e587bbf20096d4c7921286c9c734e046e2 /drivers/hv/channel.c | |
parent | a007734618fee1bf35556c04fa498d41d42c7301 (diff) |
Drivers: hv: vmbus: Fix the descriptions of some function parameters
No functional change.
Added descriptions for some parameters.
Fixed some typos.
Removed some out-of-date comments.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel.c')
-rw-r--r-- | drivers/hv/channel.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index ddadb7efd1cc..de8193f3b838 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c | |||
@@ -743,15 +743,16 @@ EXPORT_SYMBOL_GPL(vmbus_close); | |||
743 | 743 | ||
744 | /** | 744 | /** |
745 | * vmbus_sendpacket() - Send the specified buffer on the given channel | 745 | * vmbus_sendpacket() - Send the specified buffer on the given channel |
746 | * @channel: Pointer to vmbus_channel structure. | 746 | * @channel: Pointer to vmbus_channel structure |
747 | * @buffer: Pointer to the buffer you want to receive the data into. | 747 | * @buffer: Pointer to the buffer you want to send the data from. |
748 | * @bufferlen: Maximum size of what the the buffer will hold | 748 | * @bufferlen: Maximum size of what the buffer holds. |
749 | * @requestid: Identifier of the request | 749 | * @requestid: Identifier of the request |
750 | * @type: Type of packet that is being send e.g. negotiate, time | 750 | * @type: Type of packet that is being sent e.g. negotiate, time |
751 | * packet etc. | 751 | * packet etc. |
752 | * @flags: 0 or VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED | ||
752 | * | 753 | * |
753 | * Sends data in @buffer directly to hyper-v via the vmbus | 754 | * Sends data in @buffer directly to Hyper-V via the vmbus. |
754 | * This will send the data unparsed to hyper-v. | 755 | * This will send the data unparsed to Hyper-V. |
755 | * | 756 | * |
756 | * Mainly used by Hyper-V drivers. | 757 | * Mainly used by Hyper-V drivers. |
757 | */ | 758 | */ |
@@ -884,12 +885,13 @@ int vmbus_sendpacket_mpb_desc(struct vmbus_channel *channel, | |||
884 | EXPORT_SYMBOL_GPL(vmbus_sendpacket_mpb_desc); | 885 | EXPORT_SYMBOL_GPL(vmbus_sendpacket_mpb_desc); |
885 | 886 | ||
886 | /** | 887 | /** |
887 | * vmbus_recvpacket() - Retrieve the user packet on the specified channel | 888 | * __vmbus_recvpacket() - Retrieve the user packet on the specified channel |
888 | * @channel: Pointer to vmbus_channel structure. | 889 | * @channel: Pointer to vmbus_channel structure |
889 | * @buffer: Pointer to the buffer you want to receive the data into. | 890 | * @buffer: Pointer to the buffer you want to receive the data into. |
890 | * @bufferlen: Maximum size of what the the buffer will hold | 891 | * @bufferlen: Maximum size of what the buffer can hold. |
891 | * @buffer_actual_len: The actual size of the data after it was received | 892 | * @buffer_actual_len: The actual size of the data after it was received. |
892 | * @requestid: Identifier of the request | 893 | * @requestid: Identifier of the request |
894 | * @raw: true means keep the vmpacket_descriptor header in the received data. | ||
893 | * | 895 | * |
894 | * Receives directly from the hyper-v vmbus and puts the data it received | 896 | * Receives directly from the hyper-v vmbus and puts the data it received |
895 | * into Buffer. This will receive the data unparsed from hyper-v. | 897 | * into Buffer. This will receive the data unparsed from hyper-v. |