mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
Fixed below violations:
filename:/hypervisor/arch/x86/cpu_caps.c function:None offset:35:
reason:Variable should be declared static. : cpu_caps
filename:/hypervisor/arch/x86/cpu_caps.c function:is_vmx_disabled offset:299:
reason:Logical conjunctions need brackets.
filename:/hypervisor/arch/x86/cpu_caps.c function:is_vmx_disabled offset:300:
reason:Logical conjunctions need brackets.
filename:/hypervisor/arch/x86/security.c function:None offset:18:
reason:Scope of variable could be reduced. : x86_arch_capabilities
filename:/hypervisor/arch/x86/security.c function:check_cpu_security_cap offset:64:
reason:Logical conjunctions need brackets.
filename:/hypervisor/arch/x86/security.c function:check_cpu_security_cap offset:65:
reason:Logical conjunctions need brackets.
Tracked-On: #861
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>