New output added --- /home/cocci/outputs/results/837442/old-filtered 2024-10-29 18:19:58.483170292 -0700 +++ /home/cocci/outputs/results/837442/new-filtered 2024-10-29 18:19:58.503170422 -0700 @@ -9,5 +8,0 @@ -/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:7987:3-5: opportunity for str_enable_disable(en) -/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11187:3-39: opportunity for str_enable_disable(handle -> kinfo . tc_info . dcb_ets_active) -/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11189:3-38: opportunity for str_enable_disable(handle -> kinfo . tc_info . mqprio_active) -/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11962:7-13: opportunity for str_on_off(enable) -/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11970:7-13: opportunity for str_on_off(enable) @@ -16,2 +11,8 @@ -/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c:226:3-5: opportunity for str_enable_disable(en) -/home/cocci/testing/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:3008:6-9: opportunity for str_enable_disable(val) +/home/cocci/testing/net/core/sock.c:4149:1-29: opportunity for str_yes_no(proto_memory_pressure ( proto )) +/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:8013:3-5: opportunity for str_enable_disable(en) +/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11213:3-39: opportunity for str_enable_disable(handle -> kinfo . tc_info . dcb_ets_active) +/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11215:3-38: opportunity for str_enable_disable(handle -> kinfo . tc_info . mqprio_active) +/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11989:7-13: opportunity for str_on_off(enable) +/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:11997:7-13: opportunity for str_on_off(enable) +/home/cocci/testing/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c:229:3-5: opportunity for str_enable_disable(en) +/home/cocci/testing/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:3004:6-9: opportunity for str_enable_disable(val) @@ -23 +23,0 @@ -/home/cocci/testing/net/core/sock.c:4145:1-29: opportunity for str_yes_no(proto_memory_pressure ( proto )) @@ -29 +29,3 @@ -/home/cocci/testing/drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c:1528:5-8: Unneeded variable: "err". Return "- ENOENT" on line 1543 +/home/cocci/testing/drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c:1533:5-8: Unneeded variable: "err". Return "- ENOENT" on line 1548 +/home/cocci/testing/drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c:79:2-3: Unneeded semicolon +/home/cocci/testing/drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c:104:2-3: Unneeded semicolon Per-file breakdown --- /tmp/tmp.wD4C8cULAP 2024-10-29 18:19:58.513170483 -0700 +++ /tmp/tmp.Jp4rweC9hl 2024-10-29 18:19:58.513170483 -0700 @@ -7,0 +8 @@ + 2 /drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c