Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Roman Kisel and committed by
Wei Liu
44305569 c6e2b45a

+3 -3
+3 -3
drivers/hv/hv.c
··· 342 342 return 0; 343 343 } 344 344 345 - /* 346 - * hv_synic_cleanup - Cleanup routine for hv_synic_init(). 347 - */ 348 345 void hv_synic_disable_regs(unsigned int cpu) 349 346 { 350 347 struct hv_per_cpu_context *hv_cpu = ··· 433 436 return pending; 434 437 } 435 438 439 + /* 440 + * hv_synic_cleanup - Cleanup routine for hv_synic_init(). 441 + */ 436 442 int hv_synic_cleanup(unsigned int cpu) 437 443 { 438 444 struct vmbus_channel *channel, *sc;