From: Thomas Monjalon <thomas@monjalon.net>
To: hemant.agrawal@nxp.com
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] crypto/dpaa2_sec: fix build with GCC 7
Date: Tue, 30 Jan 2018 00:18:32 +0100 [thread overview]
Message-ID: <2865203.hAOOJGMPPG@xps> (raw)
In-Reply-To: <20180129223650.16777-1-thomas@monjalon.net>
29/01/2018 23:36, Thomas Monjalon:
> Seen with GCC 7.2.0, a switch fall through is detected and
> cannot be fixed with a fall-through comment or attribute:
>
> drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h:89:6: error:
> this statement may fall through [-Werror=implicit-fallthrough=]
> if (rta_sec_era < RTA_SEC_ERA_2)
> ^
>
> The check is disabled in dpaa2_sec Makefile but not in dpaa_sec Makefile
> which uses source code shared by dpaa2_sec.
>
> The workaround is to disable the check at the beginning of the file.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Applied
prev parent reply other threads:[~2018-01-29 23:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-29 22:36 Thomas Monjalon
2018-01-29 23:18 ` 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=2865203.hAOOJGMPPG@xps \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=hemant.agrawal@nxp.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).