drm/xe/device: clean up on error in probe()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 5 Jan 2024 12:22:23 +0000 (15:22 +0300)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 11 Jan 2024 02:27:39 +0000 (18:27 -0800)
commitc10da95afa68060e13c5f920d96671943a7e54d9
tree9906ee116375a07f5d437493aef3a198de3a64f7
parent7c0f97cb62dcc57463e3c66301330648cbf9b24a
drm/xe/device: clean up on error in probe()

This error path should clean up before returning.

Smatch detected this bug:
  drivers/gpu/drm/xe/xe_device.c:487 xe_device_probe() warn: missing unwind goto?

Fixes: 4cb12b71923b ("drm/xe/xe2: Determine bios enablement for flat ccs on igfx")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
drivers/gpu/drm/xe/xe_device.c