Thread (4 messages) 4 messages, 3 authors, 2022-10-25

Re: [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c

From: Doug Berger <opendmb@gmail.com>
Date: 2022-10-25 23:04:57
Also in: linux-arm-kernel, linux-mediatek, linux-mm, linux-scsi, linuxppc-dev, ntfs3

On 10/25/2022 3:41 PM, Jakub Kicinski wrote:
On Wed, 26 Oct 2022 01:17:48 +0800 kernel test robot wrote:
quoted
drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid reference to the index variable of the iterator on line 1475
CC Doug
Thanks for highlighting this for me, but I happened to catch it from the 
linux-mm list and was just looking into it.

It looks to me like a false positive since I am initializing the 
loc_rule variable in all paths outside of the list_for_each_entry() loop 
prior to its use on line 1497.

If desired I can submit a new patch to make coccinelle happy.
-Doug
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help