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:5615:6-25: WARNING: atomic_dec_and_test variation before object free at line 5622. warning: line 134: should no_llseek be a metavariable? warning: line 141: should noop_llseek be a metavariable? warning: line 223: should nonseekable_open be a metavariable? warning: line 290: should nonseekable_open be a metavariable? warning: line 338: should nonseekable_open be a metavariable? /home/cocci/testing/net/l2tp/l2tp_ppp.c:848:23-30: ERROR: reference preceded by free on line 798 /home/cocci/testing/net/l2tp/l2tp_ppp.c:853:28-35: ERROR: reference preceded by free on line 798 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7861:3-8: ERROR: invalid reference to the index variable of the iterator on line 7853 /home/cocci/testing/fs/inode.c:914:2-11: second lock on line 914 /home/cocci/testing/fs/inode.c:955:2-11: second lock on line 955 /home/cocci/testing/fs/inode.c:930:1-7: preceding lock on line 914 /home/cocci/testing/fs/inode.c:971:1-7: preceding lock on line 955 /home/cocci/testing/fs/inode.c:1700:3-9: preceding lock on line 1687