[<prev] [next>] [day] [month] [year] [list]
Message-ID: <df6e832a7ff5ac85ee988e9c4e2e5aa2@208suo.com>
Date: Tue, 11 Jul 2023 14:50:29 +0800
From: sunran001@...suo.com
To: airlied@...il.com, daniel@...ll.ch
Cc: dri-devel@...ts.freedesktop.org, nouveau@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drm/nouveau: add missing spaces after ','
Add missing spaces to clear checkpatch errors.
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Ran Sun <sunran001@...suo.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
Powered by blists - more mailing lists