public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Doug Ledford <dledford@redhat.com>, Jason Gunthorpe <jgg@mellanox.com>
Cc: Leon Romanovsky <leon@kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Saeed Mahameed <saeedm@mellanox.com>
Subject: Re: linux-next: build warning after merge of the mlx5-next tree
Date: Wed, 18 Mar 2020 13:05:31 +1100	[thread overview]
Message-ID: <20200318130531.1df149c7@canb.auug.org.au> (raw)
In-Reply-To: <20200316103913.659d3a5e@canb.auug.org.au>

[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]

Hi all,

On Mon, 16 Mar 2020 10:39:13 +1100 Stephen Rothwell <sfr@canb.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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2020-03-18  2:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15 23:39 linux-next: build warning after merge of the mlx5-next tree Stephen Rothwell
2020-03-18  2:05 ` Stephen Rothwell [this message]
2020-03-18  2:31   ` Saeed Mahameed
  -- strict thread matches above, loose matches on Subject: below --
2019-11-05  2:07 Stephen Rothwell
2019-11-05 14:38 ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200318130531.1df149c7@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=dledford@redhat.com \
    --cc=jgg@mellanox.com \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=saeedm@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox