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:5488:6-25: WARNING: atomic_dec_and_test variation before object free at line 5495. 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/mellanox/mlx5/core/lag/lag.c:1518:2-10: WARNING: NULL check before dev_{put, hold} functions is not needed. /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7862:3-8: ERROR: invalid reference to the index variable of the iterator on line 7854 /home/cocci/testing/drivers/net/ethernet/sfc/mcdi_filters.c:553:1-7: preceding lock on line 383 /home/cocci/testing/drivers/net/ethernet/amd/lance.c:271:17-18: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:273:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:276:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:279:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:284:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:287:40-41: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:290:26-27: WARNING: sum of probable bitmasks, consider |