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/events/core.c:5349:6-30: WARNING: atomic_dec_and_test variation before object free at line 5352. /home/cocci/testing/kernel/bpf/syscall.c:2290:5-26: WARNING: atomic_dec_and_test variation before object free at line 2293. /home/cocci/testing/kernel/bpf/syscall.c:3095:6-27: WARNING: atomic_dec_and_test variation before object free at line 3099. /home/cocci/testing/kernel/bpf/syscall.c:3105:6-27: WARNING: atomic_dec_and_test variation before object free at line 3107. /home/cocci/testing/kernel/bpf/syscall.c:798:5-26: WARNING: atomic_dec_and_test variation before object free at line 800. 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/kernel/bpf/btf.c:4808:6-7: ERROR: iterator variable bound on line 4806 cannot be NULL /home/cocci/testing/kernel/bpf/btf.c:8953:1-7: preceding lock on line 8907 /home/cocci/testing/tools/testing/selftests/bpf/progs/syscall.c:122:26-27: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/testing/selftests/bpf/progs/test_rdonly_maps.c:67:31-32: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/lib/bpf/libbpf.c:2041:43-48: WARNING: conversion to bool not needed here /home/cocci/testing/tools/testing/selftests/bpf/test_loader.c:718:64-69: WARNING: conversion to bool not needed here /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/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/tools/testing/selftests/bpf/progs/test_tunnel_kern.c:666:41-47: ERROR: application of sizeof to pointer /home/cocci/testing/kernel/bpf/helpers.c:1518:33-38: ERROR: t is NULL but dereferenced.