drivers/video/aty/aty128fb.c compiler warning seems like a BUG

From: Jaswinder Singh Rajput
Date: Wed Jul 15 2009 - 02:49:55 EST


I am getting this warning in linus tree :

CC [M] drivers/video/aty/aty128fb.o
drivers/video/aty/aty128fb.c: In function âaty128_decode_varâ:
drivers/video/aty/aty128fb.c:1520: warning: âpll.post_dividerâ may be used uninitialized in this function

aty128_decode_var() is calling aty128_var_to_pll()

In aty128_var_to_pll() it is directly setting pll->post_divider
without initialization of pll :

pll->post_divider = post_dividers[i];

Thanks,
--
JSR

--
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/