From: Dan Carpenter <dan.carpenter@oracle.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [bug report] qed: sanitize PBL chains allocation
Date: Mon, 27 Jul 2020 12:40:23 +0000 [thread overview]
Message-ID: <20200727124022.GZ2571@kadam> (raw)
In-Reply-To: <20200727103210.GA375660@mwanda>
On Mon, Jul 27, 2020 at 02:21:17PM +0300, Alexander Lobakin wrote:
> Data: Mon, 27 Jul 2020 13:32:00 +0300
> From: Dan Carpenter <dan.carpenter@oracle.com>
>
> > Hello Alexander Lobakin,
>
> Hi Dan!
>
> > The patch 9b6ee3cf95d3: "qed: sanitize PBL chains allocation" from Jul 23, 2020, leads to the following
> > static checker warning:
> >
> > drivers/net/ethernet/qlogic/qed/qed_chain.c:299 qed_chain_alloc_pbl()
> > error: uninitialized symbol 'pbl_virt'.
>
> Oh Gosh, how could I miss that with W=1 C=1.
It's a bug in GCC. It initializes it to zero instead of complaining.
It seems to have gotten worse in recent months...
regards,
dan carpenter
prev parent reply other threads:[~2020-07-27 12:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-27 10:32 [bug report] qed: sanitize PBL chains allocation dan.carpenter
2020-07-27 11:21 ` Alexander Lobakin
2020-07-27 12:40 ` Dan Carpenter [this message]
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=20200727124022.GZ2571@kadam \
--to=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.