Thread (1 message) 1 message, 1 author, 2023-07-18

[PATCH] writeback: add missing spaces after ','

DORMANTno replies

From: <hidden>
Date: 2023-07-18 08:49:08
Also in: lkml
Subsystem: page cache, the rest, tracing · Maintainers: Matthew Wilcox, Jan Kara, Linus Torvalds, Steven Rostedt, Masami Hiramatsu

Remove spaces to clear checkpatch errors.

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

Signed-off-by: Ran Sun <redacted>
---
 include/trace/events/writeback.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h
index 54e353c9f919..43cdecf362e3 100644
--- a/include/trace/events/writeback.h
+++ b/include/trace/events/writeback.h
@@ -26,8 +26,8 @@
 /* enums need to be exported to user space */
 #undef EM
 #undef EMe
-#define EM(a,b)     TRACE_DEFINE_ENUM(a);
-#define EMe(a,b)    TRACE_DEFINE_ENUM(a);
+#define EM(a, b)     TRACE_DEFINE_ENUM(a);
+#define EMe(a, b)    TRACE_DEFINE_ENUM(a);

 #define WB_WORK_REASON                            \
     EM( WB_REASON_BACKGROUND,        "background")        \
@@ -47,8 +47,8 @@ WB_WORK_REASON
  */
 #undef EM
 #undef EMe
-#define EM(a,b)        { a, b },
-#define EMe(a,b)    { a, b }
+#define EM(a, b)    { a, b },
+#define EMe(a, b)    { a, b }

 struct wb_writeback_work;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help