KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
80 stars 5 forks source link

Use DECLARE_FLEX_ARRAY() helper in drivers/net/ethernet/mellanox/mlx5/core/en_tc.h #222

Closed GustavoARSilva closed 1 year ago

GustavoARSilva commented 1 year ago
diff -u -p ./drivers/net/ethernet/mellanox/mlx5/core/en_tc.h /tmp/nothing/drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
--- ./drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
+++ /tmp/nothing/drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
@@ -98,7 +98,6 @@ struct mlx5_flow_attr {
        /* keep this union last */
        union {
                struct mlx5_esw_flow_attr esw_attr[0];
-               struct mlx5_nic_flow_attr nic_attr[0];
        };
 };