New warnings added --- /home/cocci/outputs/results/759141/old-filtered 2024-09-05 09:23:23.493269164 -0700 +++ /home/cocci/outputs/results/759141/new-filtered 2024-09-05 09:23:23.503269238 -0700 @@ -4,0 +5,2 @@ +/home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_definer.c:2053:11-18: WARNING opportunity for kmemdup +/home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pat_arg.c:179:2-9: WARNING opportunity for kmemdup @@ -10,2 +12,2 @@ -/home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4100:32-37: ERROR: invalid reference to the index variable of the iterator on line 4054 -/home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6159:9-13: ERROR: invalid reference to the index variable of the iterator on line 6151 +/home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4096:32-37: ERROR: invalid reference to the index variable of the iterator on line 4050 +/home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6194:9-13: ERROR: invalid reference to the index variable of the iterator on line 6186 @@ -14,3 +16,5 @@ -/home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:4021:1-7: preceding lock on line 3996 -/home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6363:1-7: preceding lock on line 6324 -/home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6500:1-7: preceding lock on line 6393 +/home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:4019:1-7: preceding lock on line 3994 +/home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6398:1-7: preceding lock on line 6359 +/home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6535:1-7: preceding lock on line 6428 +/home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_definer.h:319:4-17: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) +/home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_definer.h:498:4-25: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) Per-file breakdown --- /tmp/tmp.6vjlpxEqiR 2024-09-05 09:23:23.513269310 -0700 +++ /tmp/tmp.03xfbAZsRe 2024-09-05 09:23:23.513269310 -0700 @@ -4,0 +5,3 @@ + 1 /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_definer.c + 2 /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_definer.h + 1 /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pat_arg.c