mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 13:59:18 +00:00
HV:common:fix "integer type violations"
fix integer type violations,keep some violations which related to hypcall and msix_entry_index. V1->V2:1.modified API_MAJOR_VERSION from Makefile 2.sync acrn_common.h changed to device model Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -194,9 +194,9 @@ struct vm_gpa2hpa {
|
||||
* hypercall
|
||||
*/
|
||||
struct hc_ptdev_irq {
|
||||
#define IRQ_INTX 0
|
||||
#define IRQ_MSI 1
|
||||
#define IRQ_MSIX 2
|
||||
#define IRQ_INTX 0U
|
||||
#define IRQ_MSI 1U
|
||||
#define IRQ_MSIX 2U
|
||||
/** irq mapping type: INTX or MSI */
|
||||
uint32_t type;
|
||||
|
||||
|
Reference in New Issue
Block a user