]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe: Remove extra spaces in xe_vm.c
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 20 Mar 2025 21:15:18 +0000 (22:15 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Tue, 25 Mar 2025 10:44:47 +0000 (11:44 +0100)
There are extra spaces in xe_vm_bind_ioctl_validate_bo(), remove those.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250320211519.632432-1-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/xe_vm.c

index 60303998bd612fd3063f94ef457baece92b83a3b..793f5bc393c2c7138785f0e0d5f1f7de34dbdf4f 100644 (file)
@@ -3243,7 +3243,7 @@ static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
                                 XE_64K_PAGE_MASK) ||
                    XE_IOCTL_DBG(xe, addr & XE_64K_PAGE_MASK) ||
                    XE_IOCTL_DBG(xe, range & XE_64K_PAGE_MASK)) {
-                       return  -EINVAL;
+                       return -EINVAL;
                }
        }
 
@@ -3251,7 +3251,7 @@ static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
        if (bo->cpu_caching) {
                if (XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE &&
                                 bo->cpu_caching == DRM_XE_GEM_CPU_CACHING_WB)) {
-                       return  -EINVAL;
+                       return -EINVAL;
                }
        } else if (XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE)) {
                /*
@@ -3260,7 +3260,7 @@ static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
                 * how it was mapped on the CPU. Just assume is it
                 * potentially cached on CPU side.
                 */
-               return  -EINVAL;
+               return -EINVAL;
        }
 
        /* If a BO is protected it can only be mapped if the key is still valid */