mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] powerpc: platforms: chrp: Add require space after that ','
       [not found] <tencent_541AA1B260FC8E0892D6A696F01C5600AD05@qq.com>
@ 2023-07-18  9:28 ` hanyu001
  0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-18  9:28 UTC (permalink / raw)
  To: mpe, npiggin, christophe.leroy; +Cc: linuxppc-dev, linux-kernel

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@208suo.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-18  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_541AA1B260FC8E0892D6A696F01C5600AD05@qq.com>
2023-07-18  9:28 ` [PATCH] powerpc: platforms: chrp: Add require space after that ',' 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®