Fixes: drivers/gpu/drm/radeon/atombios_crtc.c: In function â??atombios_crtc_set_pllâ??: drivers/gpu/drm/radeon/atombios_crtc.c:678: error: â??pllâ?? may be used uninitialized in this function Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 3feca6a..520deae 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -675,7 +675,7 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode union set_pixel_clock args; u32 pll_clock = mode->clock; u32 ref_div = 0, fb_div = 0, frac_fb_div = 0, post_div = 0; - struct radeon_pll *pll; + struct radeon_pll *(uninitialized_var(pll); u32 adjusted_clock; int encoder_mode = 0;
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel