net: initialize online_mask unconditionally in __netif_set_xps_queue()
Quoted 13 lines · kernel test robot
net/core/dev.c: In function '__netif_set_xps_queue':Quoted 1 line
Quoted 1 line
net/core/dev.c:2571:29: warning: passing argument 1 of 'bitmap_fill' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]2571 | bitmap_fill(online_mask, nr_ids); | ^~~~~~~~~~~ In file included from include/linux/cpumask.h:12, from arch/loongarch/include/asm/processor.h:9, from arch/loongarch/include/asm/thread_info.h:15, from include/linux/thread_info.h:60, from include/asm-generic/current.h:5, from ./arch/loongarch/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/uaccess.h:8, from net/core/dev.c:71:
Damn, sure. I'll send v3. Sorry for noise.