Skip to content

Commit 03eda95

Browse files
Gal PressmanSaeed Mahameed
authored andcommitted
net/mlx5e: Declare bitmap using kernel macro
Replace explicit declaration of bitmap with DECLARE_BITMAP kernel macro. Signed-off-by: Gal Pressman <[email protected]> Reviewed-by: Maor Gottlieb <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 375ef2b commit 03eda95

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ struct mlx5e_tc_table {
655655

656656
struct mlx5e_vlan_table {
657657
struct mlx5e_flow_table ft;
658-
unsigned long active_cvlans[BITS_TO_LONGS(VLAN_N_VID)];
658+
DECLARE_BITMAP(active_cvlans, VLAN_N_VID);
659659
struct mlx5_flow_handle *active_cvlans_rule[VLAN_N_VID];
660660
struct mlx5_flow_handle *untagged_rule;
661661
struct mlx5_flow_handle *any_cvlan_rule;

0 commit comments

Comments
 (0)