Re: [PATCH] remove compiling warning by adding uninitialized_var()
From: Bob Copeland
Date: Fri Dec 04 2009 - 07:50:22 EST
On Fri, Dec 04, 2009 at 02:33:06AM +0800, Coly Li wrote:
> @@ -222,7 +222,7 @@ static int omfs_get_block(struct inode *inode, sector_t block,
> struct buffer_head *bh;
> sector_t next, offset;
> int ret;
> - u64 new_block;
> + u64 uninitialized_var(new_block);
> u32 max_extents;
> int extent_count;
> struct omfs_extent *oe;
OMFS part -
Reviewed-by: Bob Copeland <me@xxxxxxxxxxxxxxx>
Thanks!
--
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/