build warning in radeon/atombios_crtc.c: pll' may be used uninitialized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

seen with gcc 4.3.4 in current git (although 2.6.34 should show that
too):

drivers/gpu/drm/radeon/atombios_crtc.c: In function 'atombios_crtc_set_pll':       
drivers/gpu/drm/radeon/atombios_crtc.c:684: warning: 'pll' may be used uninitialized in this function                                                                                           

It seems to require a 'make CONFIG_DEBUG_SECTION_MISMATCH=y' to trigger
this warning; don't know why.

Perhaps add a 'default:' case to the switch block?
-- 
Stefan Richter
-=====-==-=- -=-= ==--=
http://arcgraph.de/sr/

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux