summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorRoman Kisel <romank@linux.microsoft.com>2024-08-01 23:22:35 +0200
committerWei Liu <wei.liu@kernel.org>2024-08-03 02:13:01 +0200
commit4430556935db6808b63daf1bae91e9a4386e92bd (patch)
tree01d9acabab7aa811699c47324e19e664c3530f06 /drivers/hv
parenttools: hv: lsvmbus: change shebang to use python3 (diff)
downloadlinux-4430556935db6808b63daf1bae91e9a4386e92bd.tar.xz
linux-4430556935db6808b63daf1bae91e9a4386e92bd.zip
Drivers: hv: vmbus: Fix the misplaced function description
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>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/hv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c
index e0d676c74f14..36d9ba097ff5 100644
--- 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;