diff mbox series

drivers: edac: add missing spaces after ','

Message ID 89259619b487552623c8ab80c143e550@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:53 a.m. UTC
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(-)

attr)

  /* DEVICE instance kobject release() function */
  static void edac_device_ctrl_instance_release(struct kobject *kobj)
diff mbox series

Patch

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,