mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
hv: treewide: fix 'Empty parameter list to procedure/function'
Use func(void) rather than func() for the function declaration and definition based on MISRAC requirement. Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -667,7 +667,7 @@ static uint16_t get_cpu_id_from_lapic_id(uint8_t lapic_id)
|
||||
/*
|
||||
* Start all secondary CPUs.
|
||||
*/
|
||||
void start_cpus()
|
||||
void start_cpus(void)
|
||||
{
|
||||
uint32_t timeout;
|
||||
uint16_t expected_up;
|
||||
@@ -710,7 +710,7 @@ void start_cpus()
|
||||
}
|
||||
}
|
||||
|
||||
void stop_cpus()
|
||||
void stop_cpus(void)
|
||||
{
|
||||
uint16_t pcpu_id, expected_up;
|
||||
uint32_t timeout;
|
||||
|
Reference in New Issue
Block a user