Files
linux/drivers/gpu/drm/xe
Lucas De Marchi 315acff519 drm/xe: Fix warning on impossible condition
Having a different value for op is not possible: this is already kept
out of user-visible warning by the check in xe_wait_user_fence_ioctl()
if op > MAX_OP. The warning is useful as if this switch() is not update
when a new op is added, it should be triggered.

Fix warning as reported by 0-DAY CI Kernel:

	drivers/gpu/drm/xe/xe_wait_user_fence.c:46:2: warning: variable 'passed' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]

Closes: https://lore.kernel.org/oe-kbuild-all/202312170357.KPSinwPs-lkp@intel.com/
Fixes: dd08ebf6c3 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20231218163301.3453285-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2023-12-26 12:53:26 -05:00
..
2023-12-22 11:17:15 +10:00
2023-12-21 11:41:16 -05:00
2023-12-21 11:46:17 -05:00
2023-12-19 18:33:50 -05:00
2023-12-21 11:46:59 -05:00
2023-12-21 11:37:31 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:41:13 -05:00
2023-12-21 11:39:16 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:45:09 -05:00
2023-12-21 11:45:12 -05:00
2023-12-21 11:45:28 -05:00
2023-12-21 11:45:28 -05:00
2023-12-21 11:41:03 -05:00
2023-12-21 11:37:31 -05:00
2023-12-21 11:45:24 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:46:59 -05:00
2023-12-21 11:44:39 -05:00