dpdk: fix signed single bit field
clang-16 complains about signed one-bit bitfield value changes from 1 to -1. Use unsigned type instead. Type: fix Signed-off-by: Tianyu Li <tianyu.li@arm.com> Change-Id: I84f8cf314d36183a5e6f544cd756c01d1d10a1a5
This commit is contained in:
Tianyu Li
committed by
Mohammed HAWARI
parent
c3f505fe7b
commit
4ab1aa3145
@ -119,14 +119,14 @@ typedef struct
|
||||
u16 n_rx_desc;
|
||||
u16 n_tx_desc;
|
||||
u32 supported_flow_actions;
|
||||
i32 enable_lsc_int : 1;
|
||||
i32 enable_rxq_int : 1;
|
||||
i32 disable_rx_scatter : 1;
|
||||
i32 program_vlans : 1;
|
||||
i32 mq_mode_none : 1;
|
||||
i32 interface_number_from_port_id : 1;
|
||||
i32 use_intel_phdr_cksum : 1;
|
||||
i32 int_unmaskable : 1;
|
||||
u32 enable_lsc_int : 1;
|
||||
u32 enable_rxq_int : 1;
|
||||
u32 disable_rx_scatter : 1;
|
||||
u32 program_vlans : 1;
|
||||
u32 mq_mode_none : 1;
|
||||
u32 interface_number_from_port_id : 1;
|
||||
u32 use_intel_phdr_cksum : 1;
|
||||
u32 int_unmaskable : 1;
|
||||
} dpdk_driver_t;
|
||||
|
||||
dpdk_driver_t *dpdk_driver_find (const char *name, const char **desc);
|
||||
|
Reference in New Issue
Block a user