acrn-hypervisor/hypervisor/debug
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
..
console.c hv:cleanup console/uart code 2018-08-02 11:25:40 +08:00
dump.c hv: treewide: fix 'Variable should be declared static' 2018-08-10 10:15:36 +08:00
logmsg.c HV:fix rest integer violations 2018-08-02 09:51:58 +08:00
printf.c hv: treewide: fix 'Potential side effect problem in expression' 2018-08-08 10:50:06 +08:00
sbuf.c HV:fix rest integer violations 2018-08-02 09:51:58 +08:00
shell.c hv: get correct fault address for copy_to/from_gva 2018-08-09 14:46:13 +08:00
shell_internal.h hv: treewide: fix 'Prototype and definition name mismatch' 2018-08-06 16:04:40 +08:00
uart16550.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
uart16550.h hv:cleanup console/uart code 2018-08-02 11:25:40 +08:00
vuart.c hv: treewide: fix 'Switch empty default has no comment' 2018-08-08 16:01:57 +08:00