diff mbox series

drivers: edac: add missing spaces after ','

Message ID 12fb0185376456c91666476e9949c54f@208suo.com (mailing list archive)
State New, archived
Headers show
Series drivers: edac: add missing spaces after ',' | expand

Commit Message

hanyu001@208suo.com July 14, 2023, 3:39 a.m. UTC
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(-)

      .attr = {.name = __stringify(_name), .mode = _mode },   \
      .show   = _show,                                        \
diff mbox series

Patch

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 = {    
\