Skip to contentSkip to conversation

drivers: edac: add missing spaces after ','

PATCH New [email protected] 1 participant 1 message Jul 14, 2023 1 message not in the archive EDAC-core

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drivers: edac: add missing spaces after ','

Fixes checkpatch.pl error

./drivers/edac/edac_device_sysfs.c:114: ERROR: space required after that ',' (ctx:VxV) ./drivers/edac/edac_device_sysfs.c:114: ERROR: space required after that ',' (ctx:VxV) ./drivers/edac/edac_device_sysfs.c:147: ERROR: space required after that ',' (ctx:VxV) ./drivers/edac/edac_device_sysfs.c:147: ERROR: space required after that ',' (ctx:VxV) ./drivers/edac/edac_device_sysfs.c:147: ERROR: space required after that ',' (ctx:VxV)

---
 drivers/edac/edac_device_sysfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/edac_device_sysfs.c +0 -0
index 05d4353..f6d42bc 100644
@@ -111,7 +111,7 @@ struct ctl_info_attribute {
 };
 
 #define to_ctl_info(k) container_of(k, struct edac_device_ctl_info, 

kobj)
-#define to_ctl_info_attr(a) container_of(a,struct ctl_info_attribute,attr) +#define to_ctl_info_attr(a) container_of(a, struct ctl_info_attribute, attr)

/* Function to 'show' fields from the edac_dev 'ctl_info' structure */ static ssize_t edac_dev_ctl_info_show(struct kobject *kobj,
@@ -144,7 +144,7 @@ static ssize_t edac_dev_ctl_info_store(struct kobject *kobj,
.store = edac_dev_ctl_info_store
};

-#define CTL_INFO_ATTR(_name,_mode,_show,_store) \
+#define CTL_INFO_ATTR(_name, _mode, _show, _store) \

 static struct ctl_info_attribute attr_ctl_info_##_name = {      \
     .attr = {.name = __stringify(_name), .mode = _mode },   \
     .show   = _show,                                        \