lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1793c783600cfd750100cfad8c47cfea@208suo.com>
Date:   Fri, 14 Jul 2023 14:02:30 +0800
From:   hanyu001@...suo.com
To:     bp@...en8.de, tony.luck@...el.com, james.morse@....com,
        mchehab@...nel.org, rric@...nel.org
Cc:     linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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)

Signed-off-by: maqimei <2433033762@...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,                                        \

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ