* Re: [PATCH 1/1] drivers/gpu/drm/i915: Fixed uninitialized variables (warnings).
[not found] <CAC+pAyfw5UFnuLyrpN5D2r9J=PijtgrdwJUmMh3xthM3Rx-Zvw@mail.gmail.com>
@ 2012-05-15 6:19 ` Chris Wilson
0 siblings, 0 replies; only message in thread
From: Chris Wilson @ 2012-05-15 6:19 UTC (permalink / raw)
To: Raphael Carvalho, keithp, airlied, dri-devel, linux-kernel
On Mon, 14 May 2012 20:57:07 -0300, Raphael Carvalho <rsc.utroz@gmail.com> wrote:
> From 1e77059e8f3158fd4844e3f6a5466a063d2f407e Mon Sep 17 00:00:00 2001
> From: "Raphael S.Carvalho" <utroz@oakcoders.com>
> Date: Mon, 14 May 2012 20:19:24 -0300
> Subject: [PATCH 1/1] drivers/gpu/drm/i915: Fixed uninitialized
> variables (warnings).
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> As you see, this modifications were really very important because if the
> remain variable receives a value lower or equals than 0 from the args->size
> variable, indeed, a bad behavior could ocurrs.
Which is checked for before calling the function. Look harder at what
gcc is trying to tell you, the actual location of gcc's error is inside
an inlined function...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-15 6:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAC+pAyfw5UFnuLyrpN5D2r9J=PijtgrdwJUmMh3xthM3Rx-Zvw@mail.gmail.com>
2012-05-15 6:19 ` [PATCH 1/1] drivers/gpu/drm/i915: Fixed uninitialized variables (warnings) Chris Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome