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:2297:5-26: WARNING: atomic_dec_and_test variation before object free at line 2300. /home/cocci/testing/kernel/bpf/syscall.c:3102:6-27: WARNING: atomic_dec_and_test variation before object free at line 3106. /home/cocci/testing/kernel/bpf/syscall.c:3112:6-27: WARNING: atomic_dec_and_test variation before object free at line 3114. /home/cocci/testing/kernel/bpf/syscall.c:806:5-26: WARNING: atomic_dec_and_test variation before object free at line 808. /home/cocci/testing/kernel/events/core.c:5349:6-30: WARNING: atomic_dec_and_test variation before object free at line 5352. 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/freescale/fman/fman_port.c:1871:1-7: ERROR: missing put_device; call of_find_device_by_node on line 1772, but without a corresponding object release within this function. /home/cocci/testing/drivers/net/ethernet/freescale/fman/fman_port.c:1879:1-7: ERROR: missing put_device; call of_find_device_by_node on line 1772, but without a corresponding object release within this function. /home/cocci/testing/kernel/bpf/btf.c:4803:6-7: ERROR: iterator variable bound on line 4801 cannot be NULL /home/cocci/testing/kernel/bpf/btf.c:9022:1-7: preceding lock on line 8976 /home/cocci/testing/tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c:93:29-30: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c:98:34-35: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c:101:34-35: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/lib/bpf/libbpf.c:2040:43-48: WARNING: conversion to bool not needed here /home/cocci/testing/tools/testing/selftests/bpf/test_loader.c:1033:64-69: WARNING: conversion to bool not needed here /home/cocci/testing/tools/testing/selftests/bpf/prog_tests/reg_bounds.c:42:6-9: 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/include/linux/btf.h:542:16-22: 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/tools/testing/selftests/bpf/progs/test_tunnel_kern.c:678:41-47: ERROR: application of sizeof to pointer /home/cocci/testing/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf_hierarchy1.c:25:5-8: Unneeded variable: "ret". Return "1" on line 31 /home/cocci/testing/kernel/bpf/helpers.c:1519:33-38: ERROR: t is NULL but dereferenced.