[Nouveau] [PATCH] drm/nouveau: add missing spaces after ','

sunran001 at 208suo.com sunran001 at 208suo.com
Tue Jul 11 06:50:29 UTC 2023


Add missing spaces to clear checkpatch errors.

ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Ran Sun <sunran001 at 208suo.com>
---
  drivers/gpu/drm/nouveau/nouveau_svm.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_svm.c 
b/drivers/gpu/drm/nouveau/nouveau_svm.c
index a74ba8d84ba7..78ea3b541a5b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_svm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_svm.c
@@ -75,8 +75,8 @@ struct nouveau_svm {
  #define FAULT_ACCESS_ATOMIC 2
  #define FAULT_ACCESS_PREFETCH 3

-#define SVM_DBG(s,f,a...) NV_DEBUG((s)->drm, "svm: "f"\n", ##a)
-#define SVM_ERR(s,f,a...) NV_WARN((s)->drm, "svm: "f"\n", ##a)
+#define SVM_DBG(s, f, a...) NV_DEBUG((s)->drm, "svm: "f"\n", ##a)
+#define SVM_ERR(s, f, a...) NV_WARN((s)->drm, "svm: "f"\n", ##a)

  struct nouveau_pfnmap_args {
      struct nvif_ioctl_v0 i;
@@ -101,9 +101,9 @@ nouveau_ivmm_find(struct nouveau_svm *svm, u64 inst)
      return NULL;
  }

-#define SVMM_DBG(s,f,a...)                                              
        \
+#define SVMM_DBG(s, f, a...)                                            
          \
      NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
-#define SVMM_ERR(s,f,a...)                                              
        \
+#define SVMM_ERR(s, f, a...)                                            
          \
      NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)

  int


More information about the Nouveau mailing list