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: <8e586ffecc673079ad58045ddc6e3ea6@208suo.com>
Date:   Tue, 18 Jul 2023 17:28:23 +0800
From:   hanyu001@...suo.com
To:     mpe@...erman.id.au, npiggin@...il.com, christophe.leroy@...roup.eu
Cc:     linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] powerpc: platforms: chrp: Add require space after that ','

Fixes checkpatch errors:

./arch/powerpc/platforms/chrp/time.c:109: ERROR: space required after 
that ',' (ctx:VxV)
./arch/powerpc/platforms/chrp/time.c:110: ERROR: space required after 
that ',' (ctx:VxV)
./arch/powerpc/platforms/chrp/time.c:111: ERROR: space required after 
that ',' (ctx:VxV)
./arch/powerpc/platforms/chrp/time.c:112: ERROR: space required after 
that ',' (ctx:VxV)
./arch/powerpc/platforms/chrp/time.c:113: ERROR: space required after 
that ',' (ctx:VxV)
./arch/powerpc/platforms/chrp/time.c:114: ERROR: space required after 
that ',' (ctx:VxV)

Signed-off-by: Yu Han <hanyu001@...suo.com>
---
  arch/powerpc/platforms/chrp/time.c | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/powerpc/platforms/chrp/time.c 
b/arch/powerpc/platforms/chrp/time.c
index d46417e3d8e0..6bd40be22c33 100644
--- a/arch/powerpc/platforms/chrp/time.c
+++ b/arch/powerpc/platforms/chrp/time.c
@@ -106,12 +106,12 @@ int chrp_set_rtc_time(struct rtc_time *tmarg)
          tm.tm_mday = bin2bcd(tm.tm_mday);
          tm.tm_year = bin2bcd(tm.tm_year);
      }
-    chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS);
-    chrp_cmos_clock_write(tm.tm_min,RTC_MINUTES);
-    chrp_cmos_clock_write(tm.tm_hour,RTC_HOURS);
-    chrp_cmos_clock_write(tm.tm_mon,RTC_MONTH);
-    chrp_cmos_clock_write(tm.tm_mday,RTC_DAY_OF_MONTH);
-    chrp_cmos_clock_write(tm.tm_year,RTC_YEAR);
+    chrp_cmos_clock_write(tm.tm_sec, RTC_SECONDS);
+    chrp_cmos_clock_write(tm.tm_min, RTC_MINUTES);
+    chrp_cmos_clock_write(tm.tm_hour, RTC_HOURS);
+    chrp_cmos_clock_write(tm.tm_mon, RTC_MONTH);
+    chrp_cmos_clock_write(tm.tm_mday, RTC_DAY_OF_MONTH);
+    chrp_cmos_clock_write(tm.tm_year, RTC_YEAR);

      /* The following flags have to be released exactly in this order,
       * otherwise the DS12887 (popular MC146818A clone with integrated

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ