[PATCH 14/41] drivers: hv: Fix whitespace errors
Tim Gardner
tim.gardner at canonical.com
Thu Nov 4 12:54:22 UTC 2021
From: Vasanth <vasanth3g at gmail.com>
BugLink: https://bugs.launchpad.net/bugs/1949770
Fixed checkpatch warning and errors on hv driver.
Signed-off-by: Vasanth Mathivanan <vasanth3g at gmail.com>
Link: https://lore.kernel.org/r/20210219171311.421961-1-vasanth3g@gmail.com
Reviewed-by: Michael Kelley <mikelley at microsoft.com>
Signed-off-by: Wei Liu <wei.liu at kernel.org>
(cherry picked from commit f850a4cad27c3cfeb89fd28c768d5e6821bf178f)
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
drivers/hv/channel.c | 2 +-
drivers/hv/connection.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index 061c8b5589ef..c33f0e3383f6 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -400,7 +400,7 @@ static int create_gpadl_header(enum hv_gpadl_type type, void *kbuffer,
* @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,
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
index 6f54c9ce4779..351657988cf7 100644
--- a/drivers/hv/connection.c
+++ b/drivers/hv/connection.c
@@ -30,7 +30,7 @@ struct vmbus_connection vmbus_connection = {
vmbus_connection.unload_event),
.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),
--
2.33.1
More information about the kernel-team
mailing list