Please check for false positives in the output before submitting a patch. When using "patch" mode, carefully review the patch before submitting it. warning: line 140: should noop_llseek be a metavariable? warning: line 222: should nonseekable_open be a metavariable? warning: line 289: should nonseekable_open be a metavariable? warning: line 337: should nonseekable_open be a metavariable? /home/cocci/testing/net/ipv4/inet_connection_sock.c:424:1-7: preceding lock on line 386 /home/cocci/testing/net/ipv4/inet_connection_sock.c:608:1-7: preceding lock on line 571 /home/cocci/testing/net/smc/af_smc.c:2564:0-1: preceding lock on line 2492 /home/cocci/testing/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h:294:25-42: 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/lib/vsprintf.c:2712:33-34: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/lib/vsprintf.c:2719:33-34: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/lib/vsprintf.c:2722:34-35: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/lib/vsprintf.c:2725:32-33: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c:102:5-8: Unneeded variable: "ret". Return "0" on line 105