All of lore.kernel.org
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: linux-mtd@lists.infradead.org,
	Artem Bityutskiy <dedekind@infradead.org>,
	Adrian Hunter <adrian.hunter@nokia.com>
Cc: Sachin P Sant <sachinp@linux.vnet.ibm.com>,
	David Howells <dhowells@redhat.com>,
	Subrata Modak <subrata@linux.vnet.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Balbir Singh <balbir@linux.vnet.ibm.com>
Subject: [PATCH 02/06] Fix compilation warning for fs/ubifs/commit.c
Date: Wed, 15 Jul 2009 07:49:03 +0530	[thread overview]
Message-ID: <20090715021901.4112.45973.sendpatchset@subratamodak.linux.ibm.com> (raw)

Following fix is inspired by David Howells fix few days back:
http://lkml.org/lkml/2009/7/9/109,

Signed-off-by: Subrata Modak<subrata@linux.vnet.ibm.com>,
---

--- a/fs/ubifs/commit.c	2009-05-20 10:44:12.000000000 +0530
+++ b/fs/ubifs/commit.c	2009-07-15 05:39:06.000000000 +0530
@@ -510,7 +510,7 @@ int dbg_check_old_index(struct ubifs_inf
 	int lnum, offs, len, err = 0, uninitialized_var(last_level), child_cnt;
 	int first = 1, iip;
 	struct ubifs_debug_info *d = c->dbg;
-	union ubifs_key lower_key, upper_key, l_key, u_key;
+	union ubifs_key uninitialized_var(lower_key), upper_key, l_key, u_key;
 	unsigned long long uninitialized_var(last_sqnum);
 	struct ubifs_idx_node *idx;
 	struct list_head list;

---
Regards--
Subrata

WARNING: multiple messages have this Message-ID (diff)
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: linux-mtd@lists.infradead.org,
	Artem Bityutskiy <dedekind@infradead.org>,
	Adrian Hunter <adrian.hunter@nokia.com>
Cc: Sachin P Sant <sachinp@linux.vnet.ibm.com>,
	David Howells <dhowells@redhat.com>,
	Subrata Modak <subrata@linux.vnet.ibm.com>,
	Balbir Singh <balbir@linux.vnet.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 02/06] Fix compilation warning for fs/ubifs/commit.c
Date: Wed, 15 Jul 2009 07:49:03 +0530	[thread overview]
Message-ID: <20090715021901.4112.45973.sendpatchset@subratamodak.linux.ibm.com> (raw)

Following fix is inspired by David Howells fix few days back:
http://lkml.org/lkml/2009/7/9/109,

Signed-off-by: Subrata Modak<subrata@linux.vnet.ibm.com>,
---

--- a/fs/ubifs/commit.c	2009-05-20 10:44:12.000000000 +0530
+++ b/fs/ubifs/commit.c	2009-07-15 05:39:06.000000000 +0530
@@ -510,7 +510,7 @@ int dbg_check_old_index(struct ubifs_inf
 	int lnum, offs, len, err = 0, uninitialized_var(last_level), child_cnt;
 	int first = 1, iip;
 	struct ubifs_debug_info *d = c->dbg;
-	union ubifs_key lower_key, upper_key, l_key, u_key;
+	union ubifs_key uninitialized_var(lower_key), upper_key, l_key, u_key;
 	unsigned long long uninitialized_var(last_sqnum);
 	struct ubifs_idx_node *idx;
 	struct list_head list;

---
Regards--
Subrata


             reply	other threads:[~2009-07-15  2:19 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15  2:19 Subrata Modak [this message]
2009-07-15  2:19 ` [PATCH 02/06] Fix compilation warning for fs/ubifs/commit.c Subrata Modak
2009-07-15  6:52 ` Artem Bityutskiy
2009-07-15  6:52   ` Artem Bityutskiy
2009-07-15 18:16   ` Stefan Richter
2009-07-15 18:16     ` Stefan Richter
2009-07-16  9:57     ` Artem Bityutskiy
2009-07-16  9:57       ` Artem Bityutskiy
2009-07-16 11:04       ` Subrata Modak
2009-07-16 11:04         ` Subrata Modak
2009-07-16 11:12         ` Artem Bityutskiy
2009-07-16 11:12           ` Artem Bityutskiy
2009-07-16 11:21           ` Subrata Modak
2009-07-16 11:21             ` Subrata Modak
2009-07-16 11:46         ` Stefan Richter
2009-07-16 11:46           ` Stefan Richter
2009-07-16 11:29       ` Stefan Richter
2009-07-16 11:29         ` Stefan Richter
2009-07-16 11:57         ` Stefan Richter
2009-07-16 11:57           ` Stefan Richter
2009-07-16 12:11           ` Artem Bityutskiy
2009-07-16 12:11             ` Artem Bityutskiy
2009-07-16 12:09         ` Artem Bityutskiy
2009-07-16 12:09           ` Artem Bityutskiy
  -- strict thread matches above, loose matches on Subject: below --
2009-07-16 12:41 Subrata Modak
2009-07-16 12:41 ` Subrata Modak
2009-07-16 12:54 ` Artem Bityutskiy
2009-07-16 12:54   ` Artem Bityutskiy
2009-07-16 13:10   ` Subrata Modak
2009-07-16 13:10     ` Subrata Modak

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=20090715021901.4112.45973.sendpatchset@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=adrian.hunter@nokia.com \
    --cc=balbir@linux.vnet.ibm.com \
    --cc=dedekind@infradead.org \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=sachinp@linux.vnet.ibm.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.