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/drivers/net/ipa/ipa_interrupt.c:249:2-9: line 249 is redundant because platform_get_irq() already prints an error 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/drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4103:32-37: ERROR: invalid reference to the index variable of the iterator on line 4057 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7886:3-8: ERROR: invalid reference to the index variable of the iterator on line 7878 /home/cocci/testing/net/unix/af_unix.c:2531:1-7: preceding lock on line 2440 /home/cocci/testing/net/unix/af_unix.c:3300:3-9: preceding lock on line 3296 /home/cocci/testing/net/netfilter/x_tables.c:1246:3-9: preceding lock on line 1243 /home/cocci/testing/net/netfilter/x_tables.c:1273:3-9: preceding lock on line 1243 /home/cocci/testing/net/netfilter/x_tables.c:1273:3-9: preceding lock on line 1266 /home/cocci/testing/net/ipv4/inet_connection_sock.c:414:1-7: preceding lock on line 376 /home/cocci/testing/net/ipv4/inet_connection_sock.c:598:1-7: preceding lock on line 561