linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Allison Collins <allison.henderson@oracle.com>
To: linux-xfs@vger.kernel.org
Subject: [PATCH 0/2] xfs: Fix compiler warnings
Date: Sat, 25 Jul 2020 16:01:00 -0700	[thread overview]
Message-ID: <20200725230102.22192-1-allison.henderson@oracle.com> (raw)

Some variables added in the delayed attr series were only used in ASSERT checks.
This caused some compiler warnings.  This is a quick set to add some extra
error handling to quiet those warnings.

Allison Collins (2):
  xfs: Fix compiler warning in xfs_attr_node_removename_setup
  xfs: Fix compiler warning in xfs_attr_shortform_add

 fs/xfs/libxfs/xfs_attr.c      | 10 ++++++----
 fs/xfs/libxfs/xfs_attr_leaf.c | 11 ++++++++---
 fs/xfs/libxfs/xfs_attr_leaf.h |  2 +-
 3 files changed, 15 insertions(+), 8 deletions(-)

-- 
2.7.4


             reply	other threads:[~2020-07-25 23:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-25 23:01 Allison Collins [this message]
2020-07-25 23:01 ` [PATCH 1/2] xfs: Fix compiler warning in xfs_attr_node_removename_setup Allison Collins
2020-07-25 23:01 ` [PATCH 2/2] xfs: Fix compiler warning in xfs_attr_shortform_add Allison Collins
2020-07-26  6:48   ` Eric Sandeen
2020-07-26 18:10     ` Allison Collins
2020-07-27  0:27       ` Eric Sandeen
2020-07-27  1:57         ` Allison Collins

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=20200725230102.22192-1-allison.henderson@oracle.com \
    --to=allison.henderson@oracle.com \
    --cc=linux-xfs@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).