]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915: Replace double blank with single blank after comma in gem/ and gt/
authorAndi Shyti <andi.shyti@linux.intel.com>
Wed, 7 Aug 2024 13:05:15 +0000 (14:05 +0100)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 8 Aug 2024 10:40:41 +0000 (11:40 +0100)
Do not use double blanks, ",  " in function parameters where it's
not required by any alignment purpose. Replase it with a single
blank, ", ".

Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240807130516.491053-2-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
drivers/gpu/drm/i915/gt/selftest_migrate.c
drivers/gpu/drm/i915/gt/uc/intel_uc.c
drivers/gpu/drm/i915/selftests/intel_memory_region.c

index 1495b607449287a9b957289f17b81aef9a579606..68413c05c81229b655855d7495cb7c9b1d16c22b 100644 (file)
@@ -535,7 +535,7 @@ struct drm_i915_gem_object {
         *   I915_CACHE_NONE. The only exception is userptr objects, where we
         *   instead force I915_CACHE_LLC, but we also don't allow userspace to
         *   ever change the @cache_level for such objects. Another special case
-        *   is dma-buf, which doesn't rely on @cache_dirty,  but there we
+        *   is dma-buf, which doesn't rely on @cache_dirty, but there we
         *   always do a forced flush when acquiring the pages, if there is a
         *   chance that the pages can be read directly from main memory with
         *   the GPU.
index 3eff364ccf3ac7a1a0ea9afd54c744298b8c5b89..ca460cee4f8bc563ddfbe31e7f262b631ece6d3d 100644 (file)
@@ -336,7 +336,7 @@ static int clear(struct intel_migrate *migrate,
 
                        if (vaddr[x] != val) {
                                pr_err("%ps failed, (%u != %u), offset: %zu\n",
-                                      fn, vaddr[x], val,  x * sizeof(u32));
+                                      fn, vaddr[x], val, x * sizeof(u32));
                                igt_hexdump(vaddr + i * 1024, 4096);
                                err = -EINVAL;
                        }
index 7a63abf8f644c87fded32400f74928997c6c23aa..5b8080ec5315b6f7b07b792ce6f137ce1b9a0e48 100644 (file)
@@ -99,7 +99,7 @@ static void __confirm_options(struct intel_uc *uc)
        }
 
        if (!intel_uc_supports_guc(uc))
-               gt_info(gt,  "Incompatible option enable_guc=%d - %s\n",
+               gt_info(gt, "Incompatible option enable_guc=%d - %s\n",
                        i915->params.enable_guc, "GuC is not supported!");
 
        if (i915->params.enable_guc & ENABLE_GUC_SUBMISSION &&
index ae6070b5bf07a37badf10ec1794cf85bccf2a046..f08f6674911eec6e8bc7a4a87b22a5ca4458d016 100644 (file)
@@ -517,7 +517,7 @@ static int igt_mock_max_segment(void *arg)
 
                if (!IS_ALIGNED(daddr, ps)) {
                        pr_err("%s: Created an unaligned scatterlist entry, addr=%pa, ps=%u\n",
-                              __func__,  &daddr, ps);
+                              __func__, &daddr, ps);
                        err = -EINVAL;
                        goto out_close;
                }