Re: [PATCH] drm/i915: Uninitialized variable in i915_gem_object_map_page()

From: Stephen Rothwell
Date: Thu Sep 24 2020 - 19:15:43 EST


Hi Dan,

On Thu, 24 Sep 2020 11:18:30 +0300 Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> The "i" iterator is never set to zero. This probably doesn't affect
> testing because GCC sometimes initializes variables and also we have a
> new pluggin to initialize stack variables to zero.
>
> Fixes: 7edd32a9e614 ("drm/i915: use vmap in i915_gem_object_map")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
> Hi Andrew, this should probably go through the -mm tree and get folded
> into the original patch.

Added to linux-next today.

--
Cheers,
Stephen Rothwell

Attachment: pgpxjvXcddLR5.pgp
Description: OpenPGP digital signature