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/net/netfilter/ipvs/ip_vs_ctl.c:528:5-24: WARNING: atomic_dec_and_test variation before object free at line 533. /home/cocci/testing/include/net/bluetooth/hci_core.h:1595:5-24: WARNING: atomic_dec_and_test variation before object free at line 1601. /home/cocci/testing/include/net/bluetooth/hci_core.h:1595:5-24: WARNING: atomic_dec_and_test variation before object free at line 1620. 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/bluetooth/hci_h5.c:270:2-7: WARNING: invalid free of devm_ allocated data /home/cocci/testing/net/l2tp/l2tp_ppp.c:847:23-30: ERROR: reference preceded by free on line 797 /home/cocci/testing/net/l2tp/l2tp_ppp.c:852:28-35: ERROR: reference preceded by free on line 797 /home/cocci/testing/drivers/net/phy/mdio_bus.c:467:1-33: WARNING: Function "for_each_available_child_of_node" should have of_node_put() before return around line 497. /home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c:768:1-8: ERROR: invalid reference to the index variable of the iterator on line 738 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:3687:1-7: preceding lock on line 3662 /home/cocci/testing/net/netfilter/nf_conntrack_core.c:113:2-8: preceding lock on line 107 /home/cocci/testing/include/linux/mlx5/mlx5_ifc.h:414:12-28: 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/include/linux/mlx5/mlx5_ifc.h:3552:11-19: 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/include/linux/mlx5/mlx5_ifc.h:4616:12-17: 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/include/linux/mlx5/mlx5_ifc.h:5512:12-15: 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/include/linux/mlx5/mlx5_ifc.h:5516:30-33: 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/include/linux/mlx5/mlx5_ifc.h:6181:12-25: 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/include/linux/mlx5/mlx5_ifc.h:6606:12-29: 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/include/linux/mlx5/mlx5_ifc.h:7219:12-16: 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/include/linux/mlx5/mlx5_ifc.h:7249:12-24: 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/include/linux/mlx5/mlx5_ifc.h:7359:12-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/include/linux/mlx5/mlx5_ifc.h:7429:12-15: 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/include/linux/mlx5/mlx5_ifc.h:7476:12-26: 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/include/linux/mlx5/mlx5_ifc.h:10182:12-35: 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/include/linux/mlx5/mlx5_ifc.h:10246:12-34: 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/include/linux/mlx5/mlx5_ifc.h:10331:12-38: 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/include/linux/mlx5/mlx5_ifc.h:10336:12-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/include/linux/mlx5/mlx5_ifc.h:10431:12-26: 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/include/linux/mlx5/mlx5_ifc.h:10534:12-17: 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/include/linux/mlx5/mlx5_ifc.h:10567:12-21: 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/include/linux/mlx5/mlx5_ifc.h:10613:12-17: 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/include/linux/mlx5/mlx5_ifc.h:12667:43-54: 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 |