]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Use unsigned int bit instead of bool as a struct member
authorRoi Dayan <roid@mellanox.com>
Wed, 27 Feb 2019 07:58:26 +0000 (09:58 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Mar 2019 20:04:15 +0000 (12:04 -0800)
commit8d2525a146e9aec357ad3c8e7b8434d5f056eeed
treef40b18482ede50958271dd650fa58778c99abfb1
parent4db755385a055fa47084e5483e498566dc486c33
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>
drivers/net/ethernet/mellanox/mlx5/core/lag.c