Re: linux-next: build warning after merge of the net tree
Hi Stephen, On 2017-06-13 16:38, Stephen Rothwell wrote: Hi all, After merging the net tree, today's linux-next build (powerpc ppc44x_defconfig) produced this warning: net/core/dev.c: In function 'dev_cpu_dead': net/core/dev.c:8330:2: warning: 'remsd' is used uninitialized in this function [-Wuninitialized] net_rps_send_ipi(remsd); ^ Introduced by commit 773fc8f6e8d6 ("net: rps: send out pending IPI's on CPU hotplug") These builds have CONFIG_RPS not set. I have sent the fix patch to netdev mailing list.
Re: linux-next: build warning after merge of the net tree
Hi Stephen, On 19/01/2017 12:56 AM, Stephen Rothwell wrote: Hi all, After merging the net tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: In function 'mlx5e_set_channels': drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:546:6: warning: unused variable 'ncv' [-Wunused-variable] int ncv = mlx5e_get_max_num_channels(priv->mdev); ^ Introduced by commit 639e9e94160e ("net/mlx5e: Remove unnecessary checks when setting num channels") which removed the last reference to 'ncv'. We will send a fix shortly. Thanks for your report! Regards, Tariq