mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-17 02:59:58 +02:00
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: dba61cda30
("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>
This commit is contained in:
parent
c6e2b45a54
commit
4430556935
|
@ -342,9 +342,6 @@ int hv_synic_init(unsigned int cpu)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* hv_synic_cleanup - Cleanup routine for hv_synic_init().
|
|
||||||
*/
|
|
||||||
void hv_synic_disable_regs(unsigned int cpu)
|
void hv_synic_disable_regs(unsigned int cpu)
|
||||||
{
|
{
|
||||||
struct hv_per_cpu_context *hv_cpu =
|
struct hv_per_cpu_context *hv_cpu =
|
||||||
|
@ -436,6 +433,9 @@ retry:
|
||||||
return pending;
|
return pending;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* hv_synic_cleanup - Cleanup routine for hv_synic_init().
|
||||||
|
*/
|
||||||
int hv_synic_cleanup(unsigned int cpu)
|
int hv_synic_cleanup(unsigned int cpu)
|
||||||
{
|
{
|
||||||
struct vmbus_channel *channel, *sc;
|
struct vmbus_channel *channel, *sc;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user