From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: dev@dpdk.org, Jan Medala <jan@semihalf.com>,
Jakub Palider <jpa@semihalf.com>,
Netanel Belgazal <netanel@amazon.com>,
Evgeny Schemeilin <evgenys@amazon.com>
Subject: Re: [dpdk-dev] [PATCH] ena: icc fix compilation warning #3656
Date: Wed, 06 Apr 2016 15:48:36 +0200 [thread overview]
Message-ID: <2531178.1K5dVvhytR@xps13> (raw)
In-Reply-To: <1459945046-7595-1-git-send-email-ferruh.yigit@intel.com>
2016-04-06 13:17, Ferruh Yigit:
> With (ICC) 16.0.2 20160204, getting following warnings:
>
> .../drivers/net/ena/base/ena_com.c(492): error #3656: variable
> "flags" may be used before its value is set
> ENA_SPINLOCK_LOCK(admin_queue->q_lock, flags);
>
> .../drivers/net/ena/base/ena_com.c(1971): error #3656: variable
> "mem_handle" may be used before its value is set
> ENA_MEM_ALLOC_COHERENT(ena_dev->dmadev, len,
>
> For both warnings the variable value is ignored, so there is no defect.
> To comfort compiler warning, a initial value provided to variables.
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied, thanks
prev parent reply other threads:[~2016-04-06 13:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-06 12:17 Ferruh Yigit
2016-04-06 13:48 ` Thomas Monjalon [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=2531178.1K5dVvhytR@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=evgenys@amazon.com \
--cc=ferruh.yigit@intel.com \
--cc=jan@semihalf.com \
--cc=jpa@semihalf.com \
--cc=netanel@amazon.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;
as well as URLs for NNTP newsgroup(s).