Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754706AbbLKKhL (ORCPT ); Fri, 11 Dec 2015 05:37:11 -0500 Received: from mail.skyhub.de ([78.46.96.112]:59976 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbbLKKhJ (ORCPT ); Fri, 11 Dec 2015 05:37:09 -0500 Date: Fri, 11 Dec 2015 11:37:07 +0100 From: Borislav Petkov To: "Deucher, Alexander" Cc: "Koenig, Christian" , lkml Subject: Re: radeon -Wmaybe-uninitialized crap Message-ID: <20151211103707.GB3660@pd.tnic> References: <20151207085556.GA22248@pd.tnic> <20151207171002.GG22248@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151207171002.GG22248@pd.tnic> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1625 Lines: 32 On Mon, Dec 07, 2015 at 06:10:02PM +0100, Borislav Petkov wrote: > On Mon, Dec 07, 2015 at 04:15:22PM +0000, Deucher, Alexander wrote: > > Odd. Nothing related to these variables has changed in years. > > Odd indeed. Building that same config on two other boxes doesn't trip > those up so it must be something gcc-related on that particular box. Just appeared on another box (ph) too: In file included from drivers/gpu/drm/radeon/radeon_mode.h:37:0, from drivers/gpu/drm/radeon/radeon.h:80, from drivers/gpu/drm/radeon/r100.c:33: drivers/gpu/drm/radeon/r100.c: In function ‘r100_bandwidth_update’: include/drm/drm_fixed.h:64:13: warning: ‘crit_point_ff.full’ may be used uninitialized in this function [-Wmaybe-uninitialized] u64 tmp = ((u64)A.full << 13); ^ drivers/gpu/drm/radeon/r100.c:3153:63: note: ‘crit_point_ff.full’ was declared here fixed20_12 peak_disp_bw, mem_bw, pix_clk, pix_clk2, temp_ff, crit_point_ff; ^ drivers/gpu/drm/radeon/r100.c:3583:42: warning: ‘disp_drain_rate.full’ may be used uninitialized in this function [-Wmaybe-uninitialized] temp_ff.full = read_return_rate.full - disp_drain_rate.full; ^ -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/