acrn-hypervisor/hypervisor/boot
Junjie Mao 4cf6c288cd HV: treewide: fix warnings raised by Clang
This patch fixes the following warnings detected by the LLVM/Clang
compiler:

  1. Unused static functions in C sources, which are fixed by explicitly
     tagging them with __unused

  2. Duplicated parentheses around branch conditions

  3. Assigning 64-bit constants to 32-bit variables, which is fixed by
     promoting the variables to uint64_t

  4. Using { '\0' } to zero-fill an array, which is fixed by replacing it
     with { 0 }

  5. Taking a bit out of a variable using && (which should be & instead)

Most changes do not have a semantic impact, except item 5 which is probably
a real code issue.

Tracked-On: #6776
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2021-11-04 18:15:47 +08:00
..
guest HV: treewide: fix warnings raised by Clang 2021-11-04 18:15:47 +08:00
include ACRN: misc: Unify terminology for sos/uos rin macro 2021-11-02 10:00:55 +08:00
multiboot HV: init e820 before init paging 2021-09-27 09:03:15 +08:00
acpi_base.c HV: modularization: rename mi_acpi_rsdp_va to acpi_rsdp_va 2021-06-11 10:06:02 +08:00
boot.c HV: init e820 before init paging 2021-09-27 09:03:15 +08:00
reloc.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00