drivers: hv: Fix whitespace errors
authorVasanth <vasanth3g@gmail.com>
Fri, 19 Feb 2021 17:13:11 +0000 (22:43 +0530)
committerWei Liu <wei.liu@kernel.org>
Mon, 8 Mar 2021 17:32:58 +0000 (17:32 +0000)
Fixed checkpatch warning and errors on hv driver.

Signed-off-by: Vasanth Mathivanan <vasanth3g@gmail.com>
Link: https://lore.kernel.org/r/20210219171311.421961-1-vasanth3g@gmail.com
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/channel.c
drivers/hv/connection.c

index 0bd202d..db30be8 100644 (file)
@@ -385,7 +385,7 @@ nomem:
  * @kbuffer: from kmalloc or vmalloc
  * @size: page-size multiple
  * @send_offset: the offset (in bytes) where the send ring buffer starts,
- *              should be 0 for BUFFER type gpadl
+ *              should be 0 for BUFFER type gpadl
  * @gpadl_handle: some funky thing
  */
 static int __vmbus_establish_gpadl(struct vmbus_channel *channel,
index c83612c..350e8c5 100644 (file)
@@ -28,7 +28,7 @@ struct vmbus_connection vmbus_connection = {
        .conn_state             = DISCONNECTED,
        .next_gpadl_handle      = ATOMIC_INIT(0xE1E10),
 
-       .ready_for_suspend_event= COMPLETION_INITIALIZER(
+       .ready_for_suspend_event = COMPLETION_INITIALIZER(
                                  vmbus_connection.ready_for_suspend_event),
        .ready_for_resume_event = COMPLETION_INITIALIZER(
                                  vmbus_connection.ready_for_resume_event),