mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
HV: fix violations touched type conversion
ACRN Coding guidelines requires type conversion shall be explicity. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -225,7 +225,7 @@ create_rte_for_gsi_irq(uint32_t irq, uint32_t vr)
|
||||
rte.bits.intr_polarity = IOAPIC_RTE_INTPOL_AHI;
|
||||
|
||||
/* Dest field */
|
||||
rte.bits.dest_field = ALL_CPUS_MASK;
|
||||
rte.bits.dest_field = (uint8_t) ALL_CPUS_MASK;
|
||||
}
|
||||
|
||||
return rte;
|
||||
|
||||
Reference in New Issue
Block a user