From patchwork Wed Jul 15 02:19:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subrata Modak X-Patchwork-Id: 29789 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 0B51DB6F20 for ; Wed, 15 Jul 2009 12:21:36 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1MQu5g-0005uL-NT; Wed, 15 Jul 2009 02:19:28 +0000 Received: from e8.ny.us.ibm.com ([32.97.182.138]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1MQu5X-0005aR-Am for linux-mtd@lists.infradead.org; Wed, 15 Jul 2009 02:19:25 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n6EMJCK1018296 for ; Tue, 14 Jul 2009 18:19:12 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n6F2JIjI255330 for ; Tue, 14 Jul 2009 22:19:18 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n6F2JHkB013181 for ; Tue, 14 Jul 2009 22:19:18 -0400 Received: from subratamodak.linux.ibm.com ([9.77.212.9]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n6F2J61n012996; Tue, 14 Jul 2009 22:19:11 -0400 From: Subrata Modak To: linux-mtd@lists.infradead.org, Artem Bityutskiy , Adrian Hunter Date: Wed, 15 Jul 2009 07:49:03 +0530 Message-Id: <20090715021901.4112.45973.sendpatchset@subratamodak.linux.ibm.com> Subject: [PATCH 02/06] Fix compilation warning for fs/ubifs/commit.c X-Spam-Score: -4.0 (----) X-Spam-Report: SpamAssassin version 3.2.5 on bombadil.infradead.org summary: Content analysis details: (-4.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -4.0 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [32.97.182.138 listed in list.dnswl.org] Cc: Sachin P Sant , David Howells , Subrata Modak , LKML , Balbir Singh X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Following fix is inspired by David Howells fix few days back: http://lkml.org/lkml/2009/7/9/109, Signed-off-by: Subrata Modak, --- --- Regards-- Subrata --- 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;