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:2265:22-25: ERROR: reference preceded by free on line 2279 /home/cocci/testing/drivers/net/team/team_core.c:2746:12-16: ERROR: invalid reference to the index variable of the iterator on line 2747 /home/cocci/testing/net/unix/af_unix.c:2523:1-7: preceding lock on line 2432 /home/cocci/testing/net/unix/af_unix.c:3349:3-9: preceding lock on line 3345 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9346:2-8: preceding lock on line 9326 /home/cocci/testing/drivers/net/dsa/ocelot/felix_vsc9959.c:1395:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead.