[<prev] [next>] [day] [month] [year] [list]
Message-ID: <12fb0185376456c91666476e9949c54f@208suo.com>
Date: Fri, 14 Jul 2023 11:39:56 +0800
From: hanyu001@...suo.com
To: bp@...en8.de, tony.luck@...el.com, james.morse@....com,
mchehab@...nel.org, rric@...nel.org
Cc: linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drivers: edac: add missing spaces after ','
Fixes checkpatch.pl error:
drivers/edac/edac_device_sysfs.c:480: ERROR: space required after that
',' (ctx:VxV)
drivers/edac/edac_device_sysfs.c:480: ERROR: space required after that
',' (ctx:VxV)
drivers/edac/edac_device_sysfs.c:480: ERROR: space required after that
',' (ctx:VxV)
Signed-off-by: maqimei <2433033762@...com>
---
drivers/edac/edac_device_sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/edac_device_sysfs.c
b/drivers/edac/edac_device_sysfs.c
index 010c26b..95e4249 100644
--- a/drivers/edac/edac_device_sysfs.c
+++ b/drivers/edac/edac_device_sysfs.c
@@ -477,7 +477,7 @@ static ssize_t edac_dev_block_store(struct kobject
*kobj,
.store = edac_dev_block_store
};
-#define BLOCK_ATTR(_name,_mode,_show,_store) \
+#define BLOCK_ATTR(_name, _mode, _show, _store) \
static struct edac_dev_sysfs_block_attribute attr_block_##_name = {
\
.attr = {.name = __stringify(_name), .mode = _mode }, \
.show = _show, \
Powered by blists - more mailing lists