mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/video/aty/aty128fb.c compiler warning seems like a BUG
@ 2009-07-15  6:48 Jaswinder Singh Rajput
  0 siblings, 0 replies; only message in thread
From: Jaswinder Singh Rajput @ 2009-07-15  6:48 UTC (permalink / raw)
  To: Brad Douglas, Brad Douglas, Jeff Garzik, Brad Douglas,
	Andreas Hundt, Andreas Hundt, Andreas Hundt, LKML

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-15  6:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-15  6:48 drivers/video/aty/aty128fb.c compiler warning seems like a BUG Jaswinder Singh Rajput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®