[PATCH] drivers: edac: add missing spaces after ','

hanyu001@208suo.com posted 1 patch 2 years, 6 months ago
drivers/edac/edac_device_sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers: edac: add missing spaces after ','
Posted by hanyu001@208suo.com 2 years, 6 months ago
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@qq.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,                                        \