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:5616:6-25: WARNING: atomic_dec_and_test variation before object free at line 5623. /home/cocci/testing/kernel/fork.c:941:14-33: WARNING: atomic_dec_and_test variation before object free at line 943. /home/cocci/testing/kernel/fork.c:1382:5-24: WARNING: atomic_dec_and_test variation before object free at line 1384. 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/drivers/net/wwan/t7xx/t7xx_modem_ops.c:506:6-11: ERROR: invalid reference to the index variable of the iterator on line 483 /home/cocci/testing/drivers/net/wwan/t7xx/t7xx_modem_ops.c:528:7-12: ERROR: invalid reference to the index variable of the iterator on line 483 /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/kernel/exit.c:515:18-19: ERROR: invalid reference to the index variable of the iterator on line 508 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:4021:1-7: preceding lock on line 3996 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9299:2-8: preceding lock on line 9279 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:1-7: preceding lock on line 4389 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_vf_lib.c:965:1-7: preceding lock on line 858 /home/cocci/testing/net/ethtool/ioctl.c:1577:1-7: preceding lock on line 1440 /home/cocci/testing/kernel/exit.c:1596:3-9: preceding lock on line 1591 /home/cocci/testing/kernel/exit.c:1603:4-10: preceding lock on line 1591 /home/cocci/testing/kernel/exit.c:1607:4-10: preceding lock on line 1591 /home/cocci/testing/kernel/exit.c:531:1-7: preceding lock on line 497 /home/cocci/testing/drivers/net/tun.c:2035:1-7: preceding lock on line 1839 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2782:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. /home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h:9773:4-12: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) /home/cocci/testing/net/ipv6/mcast.c:2006:12-21: ERROR: pmc is NULL but dereferenced.