[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4k7g5jn56f4adgyihxj2r3arjo563hzsdyrrtet43jasper5gi@ux2cuab7pvmb>
Date: Wed, 26 Feb 2025 12:08:59 -0600
From: Lucas De Marchi <lucas.demarchi@...el.com>
To: Colin Ian King <colin.i.king@...il.com>
CC: Thomas Hellström <thomas.hellstrom@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>, David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>, Jonathan Cavitt <jonathan.cavitt@...el.com>,
<intel-xe@...ts.freedesktop.org>, <dri-devel@...ts.freedesktop.org>,
<kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] drm/xe: Fix uninitialized pointer def
On Wed, Feb 26, 2025 at 10:28:56AM -0600, Lucas De Marchi wrote:
>On Wed, Feb 26, 2025 at 04:05:24PM +0000, Colin Ian King wrote:
>>In the case where a set of checks on xe->info.platform don't assign
>>a value to pointer def the pointer remains uninitialized and hence
>>can fail the following !def check. Fix this be ensuring pointer
>>def is initialized to NULL.
>>
>>Fixes: 292b1a8a5054 ("drm/xe: Stop ignoring errors from xe_heci_gsc_init()")
>>Signed-off-by: Colin Ian King <colin.i.king@...il.com>
>
>
>Reviewed-by: Lucas De Marchi <lucas.demarchi@...el.com>
and pushed to drm-xe-next, thanks.
Lucas De Marchi
Powered by blists - more mailing lists