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/include/net/bluetooth/hci_core.h:1558:5-24: WARNING: atomic_dec_and_test variation before object free at line 1564. /home/cocci/testing/include/net/bluetooth/hci_core.h:1558:5-24: WARNING: atomic_dec_and_test variation before object free at line 1579. /home/cocci/testing/kernel/fork.c:943:14-33: WARNING: atomic_dec_and_test variation before object free at line 945. /home/cocci/testing/kernel/fork.c:1383:5-24: WARNING: atomic_dec_and_test variation before object free at line 1385. 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/ethernet/mellanox/mlx5/core/en/tc_tun.c:72:2-10: WARNING: NULL check before dev_{put, hold} functions is not needed. /home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:80:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. /home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:35:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. /home/cocci/testing/include/net/flow_offload.h:378:6-7: ERROR: iterator variable bound on line 377 cannot be NULL /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1591:5-7: ERROR: invalid reference to the index variable of the iterator on line 1560 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1591:38-40: ERROR: invalid reference to the index variable of the iterator on line 1560 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1591:5-7: ERROR: invalid reference to the index variable of the iterator on line 1572 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1591:38-40: ERROR: invalid reference to the index variable of the iterator on line 1572 /home/cocci/testing/net/unix/garbage.c:457:17-23: ERROR: invalid reference to the index variable of the iterator on line 489 /home/cocci/testing/net/smc/af_smc.c:2553:0-1: preceding lock on line 2480 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4484:1-7: preceding lock on line 4386 /home/cocci/testing/net/bluetooth/l2cap_core.c:4037:2-8: preceding lock on line 3955 /home/cocci/testing/net/unix/af_unix.c:2476:1-7: preceding lock on line 2385 /home/cocci/testing/net/unix/af_unix.c:3243:3-9: preceding lock on line 3239 /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/sfc/tc.c:1587:29-80: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD