New warnings added --- /home/cocci/outputs/results/936982/old-filtered 2025-01-06 20:06:14.647199319 -0800 +++ /home/cocci/outputs/results/936982/new-filtered 2025-01-06 20:06:14.667199428 -0800 @@ -4,0 +5,2 @@ +/home/cocci/testing/net/homa/homa_peer.c:227:32-52: WARNING: casting value returned by memory allocation function to (struct homa_dead_dst *) is useless. +/home/cocci/testing/drivers/net/netdevsim/netdev.c:875:13-14: WARNING kvmalloc is used to allocate this memory at line 860 @@ -9,5 +11,5 @@ -/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:5-7: ERROR: invalid reference to the index variable of the iterator on line 1541 -/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:38-40: ERROR: invalid reference to the index variable of the iterator on line 1541 -/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:5-7: ERROR: invalid reference to the index variable of the iterator on line 1553 -/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:38-40: ERROR: invalid reference to the index variable of the iterator on line 1553 -/home/cocci/testing/drivers/net/team/team_core.c:2758:12-16: ERROR: invalid reference to the index variable of the iterator on line 2759 +/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1565:5-7: ERROR: invalid reference to the index variable of the iterator on line 1534 +/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1565:38-40: ERROR: invalid reference to the index variable of the iterator on line 1534 +/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1565:5-7: ERROR: invalid reference to the index variable of the iterator on line 1546 +/home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1565:38-40: ERROR: invalid reference to the index variable of the iterator on line 1546 +/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 Per-file breakdown --- /tmp/tmp.2N4ZTnT8rX 2025-01-06 20:06:14.677199485 -0800 +++ /tmp/tmp.M3nPSmN1Hs 2025-01-06 20:06:14.677199485 -0800 @@ -1,0 +2 @@ + 1 /drivers/net/netdevsim/netdev.c @@ -2,0 +4 @@ + 1 /net/homa/homa_peer.c