* linux-next: build warning after merge of the mlx5-next tree
@ 2019-11-05 2:07 Stephen Rothwell
2019-11-05 14:38 ` Leon Romanovsky
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2019-11-05 2:07 UTC (permalink / raw)
To: Leon Romanovsky
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Parav Pandit,
Saeed Mahameed
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
Hi all,
After merging the mlx5-next tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c: In function 'esw_vport_ingress_config':
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:1356:2: warning: 'spec' may be used uninitialized in this function [-Wmaybe-uninitialized]
1356 | kvfree(spec);
| ^~~~~~~~~~~~
Introduced by commit
10652f39943e ("net/mlx5: Refactor ingress acl configuration")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: build warning after merge of the mlx5-next tree
2019-11-05 2:07 linux-next: build warning after merge of the mlx5-next tree Stephen Rothwell
@ 2019-11-05 14:38 ` Leon Romanovsky
0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2019-11-05 14:38 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Parav Pandit,
Saeed Mahameed
On Tue, Nov 05, 2019 at 01:07:28PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the mlx5-next tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/net/ethernet/mellanox/mlx5/core/eswitch.c: In function 'esw_vport_ingress_config':
> drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:1356:2: warning: 'spec' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 1356 | kvfree(spec);
> | ^~~~~~~~~~~~
>
> Introduced by commit
>
> 10652f39943e ("net/mlx5: Refactor ingress acl configuration")
Thanks Stephen.
>
> --
> Cheers,
> Stephen Rothwell
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, back to index
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 2:07 linux-next: build warning after merge of the mlx5-next tree Stephen Rothwell
2019-11-05 14:38 ` Leon Romanovsky
Linux-Next Archive on lore.kernel.org
Archives are clonable:
git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
linux-next@vger.kernel.org
public-inbox-index linux-next
Example config snippet for mirrors
Newsgroup available over NNTP:
nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git