From: Rusty Lynch <rusty@linux.co.intel.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH]trivial warning fixes
Date: Tue Mar 2 10:28:46 2004 [thread overview]
Message-ID: <20040302162448.GA25830@penguin.co.intel.com> (raw)
In-Reply-To: <200403011724.i21HOjqc017905@penguin.co.intel.com>
On Mon, Mar 01, 2004 at 09:24:45AM -0800, Rusty Lynch wrote:
> The following patch fixes some simple compile warnings.
>
> --rusty
Recent tree changes removed one of the compile warnings (the
one for an unused variable named parent.) Here is the patch
recreated against this mornings svn tree.
Index: src/nm.c
===================================================================
--- src/nm.c (revision 744)
+++ src/nm.c (working copy)
@@ -39,6 +39,7 @@
void ocfs_process_vote_worker(void *val);
+#ifdef VERBOSE_PROCESS_VOTE
static const char *process_vote_strings[] = {
"INVALID_REQUEST", // reply with a NO vote
"UPDATE_OIN_INODE", // update both oin and inode
@@ -51,6 +52,7 @@
"REMASTER_THIS", // remaster lock to me
"REMASTER_REQUESTOR" // remaster lock to requestor
};
+#endif
/*
* ocfs_recv_thread()
@@ -228,7 +230,8 @@
int status = 0;
__u8 *buffer = NULL;
ocfs_publish *publish;
- __u32 i, j;
+ __u32 i;
+ unsigned long j;
__u32 highest_vote_node;
__u64 offset = 0;
__u32 num_nodes = 0;
next prev parent reply other threads:[~2004-03-02 10:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-01 11:25 [Ocfs2-devel] [PATCH]trivial warning fixes Rusty Lynch
2004-03-02 10:28 ` Rusty Lynch [this message]
2004-03-02 16:25 ` Mark Fasheh
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=20040302162448.GA25830@penguin.co.intel.com \
--to=rusty@linux.co.intel.com \
--cc=ocfs2-devel@oss.oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.