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:5735:6-25: WARNING: atomic_dec_and_test variation before object free at line 5742. 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/dsa/ocelot/felix_vsc9959.c:2270:22-25: ERROR: reference preceded by free on line 2284 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:5-7: ERROR: invalid reference to the index variable of the iterator on line 1541 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:38-40: ERROR: invalid reference to the index variable of the iterator on line 1541 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:5-7: ERROR: invalid reference to the index variable of the iterator on line 1553 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:38-40: ERROR: invalid reference to the index variable of the iterator on line 1553 /home/cocci/testing/drivers/net/team/team_core.c:2748:12-16: ERROR: invalid reference to the index variable of the iterator on line 2749 /home/cocci/testing/net/unix/af_unix.c:2524:1-7: preceding lock on line 2433 /home/cocci/testing/net/unix/af_unix.c:3350:3-9: preceding lock on line 3346 /home/cocci/testing/net/core/pktgen.c:3240:1-7: preceding lock on line 3233 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9302:2-8: preceding lock on line 9282 /home/cocci/testing/drivers/net/dsa/ocelot/felix_vsc9959.c:1400:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead.