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:
Roi Dayan 2019-02-27 09:58:26 +02:00 committed by Saeed Mahameed
parent 0ad060ee9c
commit bb19ad0d8d
1 changed files with 1 additions and 1 deletions

View File

@ -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.