Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

vmbus: fix spelling errors

Several spelling errors in comments

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Stephen Hemminger and committed by
Greg Kroah-Hartman
bdc1dd47 2c616a8b

+10 -10
+5 -5
drivers/hv/channel.c
··· 333 333 * Gpadl is u32 and we are using a pointer which could 334 334 * be 64-bit 335 335 * This is governed by the guest/host protocol and 336 - * so the hypervisor gurantees that this is ok. 336 + * so the hypervisor guarantees that this is ok. 337 337 */ 338 338 for (i = 0; i < pfncurr; i++) 339 339 gpadl_body->pfn[i] = slow_virt_to_phys( ··· 380 380 } 381 381 382 382 /* 383 - * vmbus_establish_gpadl - Estabish a GPADL for the specified buffer 383 + * vmbus_establish_gpadl - Establish a GPADL for the specified buffer 384 384 * 385 385 * @channel: a channel 386 386 * @kbuffer: from kmalloc or vmalloc ··· 732 732 /* Setup the descriptor */ 733 733 desc.type = VM_PKT_DATA_USING_GPA_DIRECT; 734 734 desc.flags = flags; 735 - desc.dataoffset8 = descsize >> 3; /* in 8-bytes grandularity */ 735 + desc.dataoffset8 = descsize >> 3; /* in 8-bytes granularity */ 736 736 desc.length8 = (u16)(packetlen_aligned >> 3); 737 737 desc.transactionid = requestid; 738 738 desc.rangecount = pagecount; ··· 793 793 /* Setup the descriptor */ 794 794 desc->type = VM_PKT_DATA_USING_GPA_DIRECT; 795 795 desc->flags = VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED; 796 - desc->dataoffset8 = desc_size >> 3; /* in 8-bytes grandularity */ 796 + desc->dataoffset8 = desc_size >> 3; /* in 8-bytes granularity */ 797 797 desc->length8 = (u16)(packetlen_aligned >> 3); 798 798 desc->transactionid = requestid; 799 799 desc->rangecount = 1; ··· 843 843 /* Setup the descriptor */ 844 844 desc.type = VM_PKT_DATA_USING_GPA_DIRECT; 845 845 desc.flags = VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED; 846 - desc.dataoffset8 = descsize >> 3; /* in 8-bytes grandularity */ 846 + desc.dataoffset8 = descsize >> 3; /* in 8-bytes granularity */ 847 847 desc.length8 = (u16)(packetlen_aligned >> 3); 848 848 desc.transactionid = requestid; 849 849 desc.rangecount = 1;
+5 -5
drivers/hv/hv_kvp.c
··· 69 69 * 70 70 * While the request/response protocol is guaranteed by the host, we further 71 71 * ensure this by serializing packet processing in this driver - we do not 72 - * read additional packets from the VMBUs until the current packet is fully 72 + * read additional packets from the VMBUS until the current packet is fully 73 73 * handled. 74 74 */ 75 75 ··· 398 398 * the max lengths specified. We will however, reserve room 399 399 * for the string terminating character - in the utf16s_utf8s() 400 400 * function we limit the size of the buffer where the converted 401 - * string is placed to HV_KVP_EXCHANGE_MAX_*_SIZE -1 to gaurantee 401 + * string is placed to HV_KVP_EXCHANGE_MAX_*_SIZE -1 to guarantee 402 402 * that the strings can be properly terminated! 403 403 */ 404 404 ··· 532 532 */ 533 533 if (error) { 534 534 /* 535 - * Something failed or we have timedout; 535 + * Something failed or we have timed out; 536 536 * terminate the current host-side iteration. 537 537 */ 538 538 goto response_done; ··· 606 606 * This callback is invoked when we get a KVP message from the host. 607 607 * The host ensures that only one KVP transaction can be active at a time. 608 608 * KVP implementation in Linux needs to forward the key to a user-mde 609 - * component to retrive the corresponding value. Consequently, we cannot 610 - * respond to the host in the conext of this callback. Since the host 609 + * component to retrieve the corresponding value. Consequently, we cannot 610 + * respond to the host in the context of this callback. Since the host 611 611 * guarantees that at most only one transaction can be active at a time, 612 612 * we stash away the transaction state in a set of global variables. 613 613 */