[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <159465159599.23097.17150763550392763778@build.alporthouse.com>
Date: Mon, 13 Jul 2020 15:46:35 +0100
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Colin King <colin.king@...onical.com>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
dri-devel@...ts.freedesktop.org, intel-gfx@...ts.freedesktop.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] drm/i915/selftest: fix an error return path where err is not being set
Quoting Colin King (2020-07-13 15:25:51)
> From: Colin Ian King <colin.king@...onical.com>
>
> There is an error condition where err is not being set and an uninitialized
> garbage value in err is being returned. Fix this by assigning err to an
> appropriate error return value before taking the error exit path.
>
> Addresses-Coverity: ("Uninitialized scalar value")
> Fixes: ed2690a9ca89 ("drm/i915/selftest: Check that GPR are restored across noa_wait")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Thanks, pushed.
-Chris
Powered by blists - more mailing lists