Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1562266 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-01-19 00:10 +0100 |
| Last post | 2017-01-19 09:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: build warning after merge of the net tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-01-19 00:10 +0100
Re: linux-next: build warning after merge of the net tree Tariq Toukan <ttoukan.linux@gmail.com> - 2017-01-19 09:30 +0100
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-01-19 00:10 +0100 |
| Subject | linux-next: build warning after merge of the net tree |
| Message-ID | <t17wD-1Zz-27@gated-at.bofh.it> |
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'.
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | Tariq Toukan <ttoukan.linux@gmail.com> |
|---|---|
| Date | 2017-01-19 09:30 +0100 |
| Message-ID | <t1ggy-7x5-13@gated-at.bofh.it> |
| In reply to | #1562266 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web