* [PATCH] drivers: edac: add missing spaces after ',' [not found] <tencent_58287290BBAD4107FE7C2992CB229A625106@qq.com> @ 2023-07-14 6:02 ` hanyu001 0 siblings, 0 replies; 3+ messages in thread From: hanyu001 @ 2023-07-14 6:02 UTC (permalink / raw) To: bp, tony.luck, james.morse, mchehab, rric; +Cc: linux-edac, linux-kernel 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(-) 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) /* 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, \ ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <tencent_9292C0A2AD2275684250A6AD5447F83C1706@qq.com>]
* [PATCH] drivers: edac: add missing spaces after ',' [not found] <tencent_9292C0A2AD2275684250A6AD5447F83C1706@qq.com> @ 2023-07-14 3:53 ` hanyu001 0 siblings, 0 replies; 3+ messages in thread From: hanyu001 @ 2023-07-14 3:53 UTC (permalink / raw) To: bp, tony.luck, james.morse, mchehab, rric; +Cc: linux-edac, linux-kernel Fixes checkpatch.pl error: drivers/edac/edac_device_sysfs.c:322: ERROR: space required after that ',' (ctx:VxV) drivers/edac/edac_device_sysfs.c:322: 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 95e4249..05d4353 100644 --- a/drivers/edac/edac_device_sysfs.c +++ b/drivers/edac/edac_device_sysfs.c @@ -319,7 +319,7 @@ static ssize_t instance_ce_count_show(struct edac_device_instance *instance, } #define to_instance(k) container_of(k, struct edac_device_instance, kobj) -#define to_instance_attr(a) container_of(a,struct instance_attribute,attr) +#define to_instance_attr(a) container_of(a, struct instance_attribute, attr) /* DEVICE instance kobject release() function */ static void edac_device_ctrl_instance_release(struct kobject *kobj) ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <tencent_3DB677F4CD0F222D2C0E29A2858205A5D80A@qq.com>]
* [PATCH] drivers: edac: add missing spaces after ',' [not found] <tencent_3DB677F4CD0F222D2C0E29A2858205A5D80A@qq.com> @ 2023-07-14 3:39 ` hanyu001 0 siblings, 0 replies; 3+ messages in thread From: hanyu001 @ 2023-07-14 3:39 UTC (permalink / raw) To: bp, tony.luck, james.morse, mchehab, rric; +Cc: linux-edac, linux-kernel 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, \ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-14 6:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_58287290BBAD4107FE7C2992CB229A625106@qq.com>
2023-07-14 6:02 ` [PATCH] drivers: edac: add missing spaces after ',' hanyu001
[not found] <tencent_9292C0A2AD2275684250A6AD5447F83C1706@qq.com>
2023-07-14 3:53 ` hanyu001
[not found] <tencent_3DB677F4CD0F222D2C0E29A2858205A5D80A@qq.com>
2023-07-14 3:39 ` hanyu001
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®