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/kernel/bpf/syscall.c:2277:5-26: WARNING: atomic_dec_and_test variation before object free at line 2280. /home/cocci/testing/kernel/bpf/syscall.c:3052:6-27: WARNING: atomic_dec_and_test variation before object free at line 3056. /home/cocci/testing/kernel/bpf/syscall.c:3062:6-27: WARNING: atomic_dec_and_test variation before object free at line 3064. /home/cocci/testing/kernel/bpf/syscall.c:786:5-26: WARNING: atomic_dec_and_test variation before object free at line 788. /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. 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/intel/i40e/i40e_main.c:15782:2-8: ERROR: missing iounmap; ioremap on line 15629 and execution via conditional on line 15781 /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/net/core/gro.c:35:25-29: ERROR: invalid reference to the index variable of the iterator on line 31 /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/drivers/net/team/team_core.c:2747:12-16: ERROR: invalid reference to the index variable of the iterator on line 2748 /home/cocci/testing/net/unix/af_unix.c:2518:1-7: preceding lock on line 2427 /home/cocci/testing/net/unix/af_unix.c:3287:3-9: preceding lock on line 3283 /home/cocci/testing/net/ipv4/inet_connection_sock.c:412:1-7: preceding lock on line 374 /home/cocci/testing/net/ipv4/inet_connection_sock.c:596:1-7: preceding lock on line 559 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9231:2-8: preceding lock on line 9211 /home/cocci/testing/net/smc/af_smc.c:2554:0-1: preceding lock on line 2489 /home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:46:85-86: WARNING: Use ARRAY_SIZE /home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:69:63-64: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/lib/bpf/libbpf.c:1983:43-48: WARNING: conversion to bool not needed here /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_devlink.c:481:8-49: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_devlink.c:491:8-46: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_devlink.c:486:8-44: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/arch/s390/net/bpf_jit_comp.c:1562:33-34: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/arch/s390/net/bpf_jit_comp.c:1614:23-24: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/arch/x86/net/bpf_jit_comp32.c:1274:5-8: Unneeded variable: "cnt". Return "0" on line 1283 /home/cocci/testing/kernel/bpf/helpers.c:1357:33-38: ERROR: t is NULL but dereferenced.