mirror of https://gitee.com/openkylin/linux.git
net/mlx5: Use unsigned int bit instead of bool as a struct member
This fix checkpatch check CHECK: Avoid using bool structure members because of possible alignment issues Signed-off-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
0ad060ee9c
commit
bb19ad0d8d
|
@ -52,7 +52,7 @@ struct lag_func {
|
|||
struct lag_tracker {
|
||||
enum netdev_lag_tx_type tx_type;
|
||||
struct netdev_lag_lower_state_info netdev_state[MLX5_MAX_PORTS];
|
||||
bool is_bonded;
|
||||
unsigned int is_bonded:1;
|
||||
};
|
||||
|
||||
/* LAG data of a ConnectX card.
|
||||
|
|
Loading…
Reference in New Issue