[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210305082241.dt53hczrvds3qoz2@sirius.home.kraxel.org>
Date: Fri, 5 Mar 2021 09:22:41 +0100
From: Gerd Hoffmann <kraxel@...hat.com>
To: Colin King <colin.king@...onical.com>
Cc: Dave Airlie <airlied@...hat.com>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
virtualization@...ts.linux-foundation.org,
spice-devel@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] qxl: Fix uninitialised struct field head.surface_id
On Thu, Mar 04, 2021 at 09:49:28AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The surface_id struct field in head is not being initialized and
> static analysis warns that this is being passed through to
> dev->monitors_config->heads[i] on an assignment. Clear up this
> warning by initializing it to zero.
>
> Addresses-Coverity: ("Uninitialized scalar variable")
> Fixes: a6d3c4d79822 ("qxl: hook monitors_config updates into crtc, not encoder.")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Pushed to drm-misc-fixes.
thanks,
Gerd
Powered by blists - more mailing lists