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/ethernet/broadcom/bnxt/bnxt.c:5748:6-25: WARNING: atomic_dec_and_test variation before object free at line 5755. 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/drivers/net/ethernet/intel/i40e/i40e_main.c:15719:2-8: ERROR: missing iounmap; ioremap on line 15566 and execution via conditional on line 15718 /home/cocci/testing/net/sctp/protocol.c:838:13-17: ERROR: invalid reference to the index variable of the iterator on line 824 /home/cocci/testing/drivers/net/team/team_core.c:2759:12-16: ERROR: invalid reference to the index variable of the iterator on line 2760 /home/cocci/testing/net/smc/af_smc.c:2564:0-1: preceding lock on line 2492 /home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_dcb.h:113:4-11: 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/drivers/net/ethernet/intel/i40e/i40e_dcb.h:135:4-11: 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/drivers/net/ieee802154/ca8210.c:202:59-60: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ieee802154/ca8210.c:203:57-58: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ieee802154/ca8210.c:204:59-60: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ieee802154/ca8210.c:209:57-58: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ieee802154/ca8210.c:210:57-58: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ieee802154/ca8210.c:215:60-61: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ieee802154/ca8210.c:216:57-58: WARNING: sum of probable bitmasks, consider |