Skip to content

Commit 4430556

Browse files
romank-msftliuw
authored andcommitted
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: dba61cd ("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>
1 parent c6e2b45 commit 4430556

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/hv/hv.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ int hv_synic_init(unsigned int cpu)
342342
return 0;
343343
}
344344

345-
/*
346-
* hv_synic_cleanup - Cleanup routine for hv_synic_init().
347-
*/
348345
void hv_synic_disable_regs(unsigned int cpu)
349346
{
350347
struct hv_per_cpu_context *hv_cpu =
@@ -436,6 +433,9 @@ static bool hv_synic_event_pending(void)
436433
return pending;
437434
}
438435

436+
/*
437+
* hv_synic_cleanup - Cleanup routine for hv_synic_init().
438+
*/
439439
int hv_synic_cleanup(unsigned int cpu)
440440
{
441441
struct vmbus_channel *channel, *sc;

0 commit comments

Comments
 (0)