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 <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]> Message-ID: <[email protected]>
1 parent c6e2b45 commit 4430556

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)