Message ID | 1793c783600cfd750100cfad8c47cfea@208suo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drivers: edac: add missing spaces after ',' | expand |
diff --git a/drivers/edac/edac_device_sysfs.c b/drivers/edac/edac_device_sysfs.c index 05d4353..f6d42bc 100644 --- a/drivers/edac/edac_device_sysfs.c +++ b/drivers/edac/edac_device_sysfs.c @@ -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)
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) Signed-off-by: maqimei <2433033762@qq.com> --- drivers/edac/edac_device_sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) /* 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, \