Re: [PATCH][next] drm/xe: Fix uninitialized pointer def

2025-02-26 Thread Lucas De Marchi
On Wed, Feb 26, 2025 at 10:28:56AM -0600, Lucas De Marchi wrote: On Wed, Feb 26, 2025 at 04:05:24PM +, 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 chec

Re: [PATCH][next] drm/xe: Fix uninitialized pointer def

2025-02-26 Thread Lucas De Marchi
On Wed, Feb 26, 2025 at 04:05:24PM +, 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

[PATCH][next] drm/xe: Fix uninitialized pointer def

2025-02-26 Thread Colin Ian King
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_ini