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:5436:6-25: WARNING: atomic_dec_and_test variation before object free at line 5443. /home/cocci/testing/net/netfilter/ipvs/ip_vs_ctl.c:528:5-24: WARNING: atomic_dec_and_test variation before object free at line 533. 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_encap.c:37: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_encap.c:748: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_encap.c:783:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. /home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_main.c:15773:2-8: ERROR: missing iounmap; ioremap on line 15620 and execution via conditional on line 15772 /home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:551:29-44: ERROR: reference preceded by free on line 550 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1509:5-7: ERROR: invalid reference to the index variable of the iterator on line 1478 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1509:38-40: ERROR: invalid reference to the index variable of the iterator on line 1478 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1509:5-7: ERROR: invalid reference to the index variable of the iterator on line 1490 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1509:38-40: ERROR: invalid reference to the index variable of the iterator on line 1490 /home/cocci/testing/net/core/gro.c:35:25-29: ERROR: invalid reference to the index variable of the iterator on line 31 /home/cocci/testing/net/ipv4/inet_connection_sock.c:414:1-7: preceding lock on line 376 /home/cocci/testing/net/ipv4/inet_connection_sock.c:598:1-7: preceding lock on line 561 /home/cocci/testing/fs/btrfs/free-space-cache.c:368:1-7: preceding lock on line 323 /home/cocci/testing/fs/btrfs/free-space-cache.c:2431:1-7: preceding lock on line 2415 /home/cocci/testing/fs/btrfs/free-space-cache.c:1144:1-7: preceding lock on line 1092 /home/cocci/testing/fs/btrfs/free-space-cache.c:1144:1-7: preceding lock on line 1092 /home/cocci/testing/fs/btrfs/free-space-cache.c:1144:1-7: preceding lock on line 1117 /home/cocci/testing/net/unix/af_unix.c:2517:1-7: preceding lock on line 2426 /home/cocci/testing/net/unix/af_unix.c:3286:3-9: preceding lock on line 3282 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9142:2-8: preceding lock on line 9122 /home/cocci/testing/net/smc/af_smc.c:2556:0-1: preceding lock on line 2491