From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Varsha Rao <rvarsha016@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH iptables] iptables: Remove const qualifier from struct option.
Date: Thu, 21 Dec 2017 09:09:47 +0100 [thread overview]
Message-ID: <20171221080947.4nv6q6jwlmw2e7oo@salvia> (raw)
In-Reply-To: <20171221033545.2676-1-rvarsha016@gmail.com>
On Thu, Dec 21, 2017 at 09:05:44AM +0530, Varsha Rao wrote:
> As opts is reassigned multiple times, it cannot be made constant.
> So remove const qualifier from structure option. This patch fixes the
> following warning:
>
> warning: initialization discards ‘const’ qualifier from pointer target
> type [-Wdiscarded-qualifiers]
> .orig_opts = original_opts,
Applied, thanks Varsha.
prev parent reply other threads:[~2017-12-21 8:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-21 3:35 [PATCH iptables] iptables: Remove const qualifier from struct option Varsha Rao
2017-12-21 3:35 ` [PATCH iptables] extensions: Add macro _DEFAULT_SOURCE Varsha Rao
2017-12-21 8:10 ` Pablo Neira Ayuso
2017-12-21 8:09 ` Pablo Neira Ayuso [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=20171221080947.4nv6q6jwlmw2e7oo@salvia \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=rvarsha016@gmail.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).