lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a6612dbf3cd0ecdde7c0e4c8d35ebf470e2cf346.camel@mellanox.com>
Date:   Wed, 18 Mar 2020 02:31:17 +0000
From:   Saeed Mahameed <saeedm@...lanox.com>
To:     "sfr@...b.auug.org.au" <sfr@...b.auug.org.au>,
        Jason Gunthorpe <jgg@...lanox.com>,
        "dledford@...hat.com" <dledford@...hat.com>
CC:     "linux-next@...r.kernel.org" <linux-next@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "leon@...nel.org" <leon@...nel.org>
Subject: Re: linux-next: build warning after merge of the mlx5-next tree

On Wed, 2020-03-18 at 13:05 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> On Mon, 16 Mar 2020 10:39:13 +1100 Stephen Rothwell <
> sfr@...b.auug.org.au> wrote:
> > Hi all,
> > 
> > After merging the mlx5-next tree, today's linux-next build (x86_64
> > allmodconfig) produced this warning:
> > 
> > In file included from include/linux/printk.h:331,
> >                  from include/linux/kernel.h:15,
> >                  from
> > drivers/net/ethernet/mellanox/mlx5/core/mr.c:33:
> > drivers/net/ethernet/mellanox/mlx5/core/mr.c: In function
> > 'mlx5_core_create_mkey':
> > include/linux/dynamic_debug.h:157:25: warning: 'key' may be used
> > uninitialized in this function [-Wmaybe-uninitialized]
> >   157 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
> >       |                         ^~~~~~~~~~~~~~~~~
> > drivers/net/ethernet/mellanox/mlx5/core/mr.c:47:5: note: 'key' was
> > declared here
> >    47 |  u8 key;
> >       |     ^~~
> > 
> > Probably introduced by commit
> > 
> >   fc6a9f86f08a ("{IB,net}/mlx5: Assign mkey variant in mlx5_ib
> > only")
> 
> This warning now appears in the rdma tree.
> 

thanks Stephen,

actuall a fix patch was merged yesterday into mlx5-next [1]

and should already be in linux-next build, and will soon land in rdma
tree.

Thanks,
Saeed.

[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git/commit/?h=mlx5-next&id=826096d84f509d95ee8f72728fe19c44fbb9df6b

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ