mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 03:15:42 +00:00
vcpu is never scan because of scan tool will be crashed! After modulization, the vcpu can be scaned by the scan tool. Clean up the violations in vcpu.c. Fix the violations: 1.No brackets to then/else. 2.Function return value not checked. 3.Signed/unsigned coversion without cast. V1->V2: change the type of "vcpu->arch.irq_window_enabled" to bool. V2->V3: add "void *" prefix on the 1st parameter of memset. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
arch/x86 | ||
common | ||
debug | ||
dm | ||
hw | ||
lib | ||
public |