Re: [PATCH] drm/xe/vm: Fix an error path

2023-12-20 Thread Thomas Hellström
On 12/20/23 17:29, Lucas De Marchi wrote: On Wed, Dec 20, 2023 at 05:17:49PM +0100, Thomas Hellström wrote: On 12/20/23 17:13, Lucas De Marchi wrote: On Wed, Dec 20, 2023 at 03:42:14PM +0100, Thomas Hellström wrote: If using the VM_BIND_OP_UNMAP_ALL without any bound vmas for the vm, we wil

Re: [PATCH] drm/xe/vm: Fix an error path

2023-12-20 Thread Lucas De Marchi
On Wed, Dec 20, 2023 at 05:17:49PM +0100, Thomas Hellström wrote: On 12/20/23 17:13, Lucas De Marchi wrote: On Wed, Dec 20, 2023 at 03:42:14PM +0100, Thomas Hellström wrote: If using the VM_BIND_OP_UNMAP_ALL without any bound vmas for the vm, we will end up dereferencin an uninitialized variab