acrn-hypervisor/hypervisor/include/common
Shiqing Gao cdd19dc51b hv: treewide: fix 'Variable should be declared static'
Declare a variable with the static qualifier if it is of file scope and
not used in another file.

v1 -> v2:
 * remove the unnecessary change to the following variables, which is
    due to the report issue

   struct multiboot_info *mbi = (struct multiboot_info *)
                        (HPA2HVA((uint64_t)boot_regs[1]));
   struct multiboot_mmap *mmap =
                                (struct multiboot_mmap *)
                                HPA2HVA((uint64_t)mbi->mi_mmap_addr);

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2018-08-10 10:15:36 +08:00
..
hypercall.h HV: trusty: new hypercall to save/restore context of secure world 2018-08-09 15:09:15 +08:00
irq.h hv: treewide: fix 'Procedure parameter has a type but no identifier' 2018-08-03 13:29:24 +08:00
ptdev.h hv: treewide: fix 'Variable should be declared static' 2018-08-10 10:15:36 +08:00
schedule.h HV:treewide:Cleanup the type for parameters of bitmap 2018-07-02 10:46:11 +08:00
softirq.h hv: softirq: refine softirq 2018-08-01 11:36:27 +08:00