projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e2b45
)
Drivers: hv: vmbus: Fix the misplaced function description
author
Roman Kisel
<romank@linux.microsoft.com>
Thu, 1 Aug 2024 21:22:35 +0000
(14:22 -0700)
committer
Wei Liu
<wei.liu@kernel.org>
Sat, 3 Aug 2024 00:13:01 +0000
(
00:13
+0000)
When hv_synic_disable_regs was introduced, it received the description
of hv_synic_cleanup. Fix that.
Fixes:
dba61cda3046
("Drivers: hv: vmbus: Break out synic enable and disable operations")
Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhkelley@outlook.com>
Link:
https://lore.kernel.org/r/20240801212235.352220-1-romank@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <
20240801212235
.352220-1-romank@linux.microsoft.com>
drivers/hv/hv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hv/hv.c
b/drivers/hv/hv.c
index e0d676c74f1478eb7478313ee79dd6bf8aee3225..36d9ba097ff5b79ae9cd737e63527f7ab8799624 100644
(file)
--- a/
drivers/hv/hv.c
+++ b/
drivers/hv/hv.c
@@
-342,9
+342,6
@@
int hv_synic_init(unsigned int cpu)
return 0;
}
-/*
- * hv_synic_cleanup - Cleanup routine for hv_synic_init().
- */
void hv_synic_disable_regs(unsigned int cpu)
{
struct hv_per_cpu_context *hv_cpu =
@@
-436,6
+433,9
@@
retry:
return pending;
}
+/*
+ * hv_synic_cleanup - Cleanup routine for hv_synic_init().
+ */
int hv_synic_cleanup(unsigned int cpu)
{
struct vmbus_channel *channel, *sc;