From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vyacheslav Dubeyko Subject: [PATCH] fix warning in fs/nilfs2/btree.c: In function =?UTF-8?Q?=E2=80=98nilfs=5Fbtree=5Fconvert=5Fand=5Finsert=E2=80=99?= Date: Sun, 03 Mar 2013 19:26:56 +0400 Message-ID: <1362324416.29435.33.camel@slavad-ubuntu-12.04> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ryusuke Konishi , Fengguang Wu To: Andrew Morton Return-path: Sender: linux-nilfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org =46rom: Vyacheslav Dubeyko Subject: [PATCH] fix warning in fs/nilfs2/btree.c: In function =E2=80=98= nilfs_btree_convert_and_insert=E2=80=99 This patch fixes the warning in fs/nilfs2/btree.c: In function =E2=80=98= nilfs_btree_convert_and_insert=E2=80=99: (1) include/asm/bitops.h:321:8: warning: =E2=80=98bh=E2=80=99 may be us= ed uninitialized in this function [-Wuninitialized] Signed-off-by: Vyacheslav Dubeyko --- fs/nilfs2/btree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c index b2e3ff3..734ece9 100644 --- a/fs/nilfs2/btree.c +++ b/fs/nilfs2/btree.c @@ -1767,7 +1767,7 @@ int nilfs_btree_convert_and_insert(struct nilfs_b= map *btree, __u64 key, __u64 ptr, const __u64 *keys, const __u64 *ptrs, int n) { - struct buffer_head *bh; + struct buffer_head *bh =3D NULL; union nilfs_bmap_ptr_req dreq, nreq, *di, *ni; struct nilfs_bmap_stats stats; int ret; --=20 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" = in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html