From: Steve Dickson <steved@redhat.com>
To: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [PATCH 0/1] Eliminate warnings from rpcgen generated code
Date: Fri, 9 Feb 2018 10:50:41 -0500 [thread overview]
Message-ID: <20180209155042.28461-1-steved@redhat.com> (raw)
For years, the rpcgen generated code causes
a number of -Wunused-variable. Taking a closer
look at rpcgen , it turns out these warnings
were caused by rpcgen trying inline the code.
Inlining is a technique that allows xdr routines
to run faster and more efficiently. It turns out
only one routine, xdr_ppathcnf(), was taking
advantage of this technique.
So by turning off rpcgen inline the warnings
are eliminated with no lost of speed or efficiency
The patch also eliminates a -Wmissing-prototypes
by a hack to the nsm/Makefile.am.
Steve Dickson (1):
Remove warnings from rpcgen genrated files
support/export/Makefile.am | 2 +-
support/nsm/Makefile.am | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
--
2.14.3
next reply other threads:[~2018-02-09 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 15:50 Steve Dickson [this message]
2018-02-09 15:50 ` [PATCH 1/1] Remove warnings from rpcgen generated files Steve Dickson
2018-02-13 14:23 ` Steve Dickson
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=20180209155042.28461-1-steved@redhat.com \
--to=steved@redhat.com \
--cc=linux-nfs@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 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).