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:5317:6-30: WARNING: atomic_dec_and_test variation before object free at line 5320. /home/cocci/testing/kernel/bpf/token.c:54:6-27: WARNING: atomic_dec_and_test variation before object free at line 58. 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:15773:2-8: ERROR: missing iounmap; ioremap on line 15620 and execution via conditional on line 15772 /home/cocci/testing/kernel/bpf/btf.c:4658:6-7: ERROR: iterator variable bound on line 4656 cannot be NULL /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7899:3-8: ERROR: invalid reference to the index variable of the iterator on line 7891 /home/cocci/testing/drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c:398:16-26: ERROR: invalid reference to the index variable of the iterator on line 381 /home/cocci/testing/kernel/bpf/btf.c:8727:1-7: preceding lock on line 8681 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:137:40-41: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:137:40-41: WARNING: Use ARRAY_SIZE /home/cocci/testing/tools/lib/bpf/libbpf.c:1856:43-48: WARNING: conversion to bool not needed here /home/cocci/testing/drivers/net/ethernet/intel/iavf/iavf_main.c:2275:6-8: WARNING: possible condition with no effect (if == else) /home/cocci/testing/tools/testing/selftests/bpf/progs/test_seg6_loop.c:46:19-27: 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_seg6_loop.c:52:15-20: 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_lwt_seg6local.c:46:19-27: 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_lwt_seg6local.c:52:15-20: 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_xdp_noinline.c:409:24-25: WARNING opportunity for swap() /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:361:18-22: WARNING comparing pointer to 0, suggest !E /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:536:23-27: WARNING comparing pointer to 0, suggest !E /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:543:21-25: WARNING comparing pointer to 0, suggest !E /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:626:19-23: WARNING comparing pointer to 0, suggest !E /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:626:40-44: WARNING comparing pointer to 0, suggest !E /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:386:19-23: WARNING comparing pointer to 0, suggest !E /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:393:20-24: WARNING comparing pointer to 0, suggest !E /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:518:21-25: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:270:17-21: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:689:29-33: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:361:18-22: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:518:21-25: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:536:23-27: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:543:21-25: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:765:13-17: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:270:17-21: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:689:29-33: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:626:19-23: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:626:40-44: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:638:24-28: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:386:19-23: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:390:19-23: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:393:20-24: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:403:20-24: WARNING comparing pointer to 0 /home/cocci/testing/tools/testing/selftests/bpf/progs/profiler.inc.h:435:20-24: WARNING comparing pointer to 0 /home/cocci/testing/kernel/bpf/helpers.c:1357:33-38: ERROR: t is NULL but dereferenced.