From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH] drm: avoid "mono_time_offset may be used uninitialized" Date: Wed, 30 Jan 2013 10:05:34 -0700 Message-ID: <510952DE.70905@wwwdotorg.org> References: <1359504590-23517-1-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1359504590-23517-1-git-send-email-swarren@wwwdotorg.org> Sender: linux-kernel-owner@vger.kernel.org To: David Airlie Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Stephen Warren List-Id: dri-devel@lists.freedesktop.org On 01/29/2013 05:09 PM, Stephen Warren wrote: > From: Stephen Warren > > Silence the following: > drivers/gpu/drm/drm_irq.c: In function 'drm_calc_vbltimestamp_from_scanoutpos': > drivers/gpu/drm/drm_irq.c:583:24: warning: 'mono_time_offset.tv64' may be used uninitialized in this function FYI, I found that I see this warning with gcc-4.5.3, but not with gcc-4.7.2 or gcc-4.6.3. Hence, you might decide you don't care about this patch.