Please check for false positives in the output before submitting a patch. When using "patch" mode, carefully review the patch before submitting it. /home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt.c:5585:6-25: WARNING: atomic_dec_and_test variation before object free at line 5592. warning: line 140: should noop_llseek be a metavariable? warning: line 222: should nonseekable_open be a metavariable? warning: line 289: should nonseekable_open be a metavariable? warning: line 337: should nonseekable_open be a metavariable? /home/cocci/testing/drivers/net/usb/smsc95xx.c:562:5-13: opportunity for str_enabled_disabled(rx_pause) /home/cocci/testing/drivers/net/usb/smsc95xx.c:563:5-13: opportunity for str_enabled_disabled(tx_pause) /home/cocci/testing/drivers/pci/pci.c:2555:27-33: opportunity for str_enabled_disabled(enable) /home/cocci/testing/net/core/sock.c:4156:1-29: opportunity for str_yes_no(proto_memory_pressure ( proto )) /home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt.c:11155:8-32: opportunity for str_on_off(( fec & BNXT_FEC_AUTONEG )) /home/cocci/testing/drivers/net/ethernet/broadcom/tg3.c:1892:8-21: opportunity for str_enabled_disabled(tp -> setlpicnt) /home/cocci/testing/drivers/net/ethernet/broadcom/tg3.c:1887:7-55: opportunity for str_on_off(( tp -> link_config . active_flowctrl & FLOW_CTRL_RX )) /home/cocci/testing/drivers/net/ethernet/broadcom/tg3.c:1885:7-55: opportunity for str_on_off(( tp -> link_config . active_flowctrl & FLOW_CTRL_TX )) /home/cocci/testing/drivers/net/phy/realtek.c:438:3-12: opportunity for str_enabled_disabled(val_rxdly) /home/cocci/testing/drivers/net/phy/realtek.c:423:3-12: opportunity for str_enabled_disabled(val_txdly) /home/cocci/testing/drivers/net/ethernet/freescale/fman/fman_port.c:1871:1-7: ERROR: missing put_device; call of_find_device_by_node on line 1772, but without a corresponding object release within this function. /home/cocci/testing/drivers/net/ethernet/freescale/fman/fman_port.c:1879:1-7: ERROR: missing put_device; call of_find_device_by_node on line 1772, but without a corresponding object release within this function. /home/cocci/testing/drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c:398:16-26: ERROR: invalid reference to the index variable of the iterator on line 381 /home/cocci/testing/drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c:1526:5-8: Unneeded variable: "err". Return "- ENOENT" on line 1541 /home/cocci/testing/drivers/pci/pci.c:6881:6-10: duplicated argument to && or ||