From: hanyu001@208suo.com
To: mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH] powerpc: platforms: chrp: Add require space after that ','
Date: Tue, 18 Jul 2023 17:28:23 +0800 [thread overview]
Message-ID: <8e586ffecc673079ad58045ddc6e3ea6@208suo.com> (raw)
In-Reply-To: <tencent_541AA1B260FC8E0892D6A696F01C5600AD05@qq.com>
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
parent reply other threads:[~2023-07-18 9:28 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_541AA1B260FC8E0892D6A696F01C5600AD05@qq.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e586ffecc673079ad58045ddc6e3ea6@208suo.com \
--to=hanyu001@208suo.com \
--cc=christophe.leroy@csgroup.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®