All of lore.kernel.org
 help / color / mirror / Atom feed
From: chensong <chensong_2000@189.cn>
To: "Bezdeka, Florian" <florian.bezdeka@siemens.com>,
	"xenomai@xenomai.org" <xenomai@xenomai.org>
Cc: "chensong@tj.kylinos.cn" <chensong@tj.kylinos.cn>
Subject: Re: [PATCH v5 1/5] y2038: cobalt/posix/clock: Adding clock_gettime64
Date: Fri, 23 Apr 2021 19:48:19 +0800	[thread overview]
Message-ID: <45c72bd2-2eac-f627-2e8f-8593389f4486@189.cn> (raw)
In-Reply-To: <96da9caa811594f0f910491d1c4a99cece5032f5.camel@siemens.com>



On 2021/4/23 下午7:10, Bezdeka, Florian wrote:
> On Wed, 2021-04-21 at 16:33 +0800, Song Chen wrote:
>> From: chensong <chensong@tj.kylinos.cn>
>>
>> Add a syscall specific for clock_gettime with 64bit
>> time_t.
>>
>> Signed-off-by: chensong <chensong@tj.kylinos.cn>
>>
>> ---
>> v5:
>> 1, new helper __cobalt_clock_gettime64
>> ---
>>   include/cobalt/kernel/time.h    | 11 +++++++++++
>>   include/cobalt/uapi/syscall.h   |  1 +
>>   kernel/cobalt/posix/clock.c     | 23 ++++++++++++++++++++++-
>>   kernel/cobalt/posix/clock.h     |  6 ++++++
>>   kernel/cobalt/posix/syscall32.c |  8 ++++++++
>>   kernel/cobalt/posix/syscall32.h |  4 ++++
>>   kernel/cobalt/time.c            | 11 +++++++++++
>>   7 files changed, 63 insertions(+), 1 deletion(-)
>>
>> +COBALT_SYSCALL(clock_gettime64, current,
>> +	       (clockid_t clock_id, struct __kernel_timespec __user *u_ts))
>> +{
>> +	return __cobalt_clock_gettime64(clock_id, u_ts);	
> 
> Whitespace at end of line! Will fix it up in my tree.

sorry, i did checkpatch each time, probably missed it this time.
thanks for fixing it up.

Song
> 
>>
>> +COBALT_SYSCALL32emu(clock_gettime64, current,
>> +		    (clockid_t clock_id,
>> +		     struct __kernel_timespec __user *u_ts))
>> +{
>> +	return __cobalt_clock_gettime64(clock_id, u_ts);	
> 
> WS at EOL again. Will fix it up in my tree.
> 
> 
>> +}
>>
> 


  reply	other threads:[~2021-04-23 11:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-21  8:33 [PATCH v5 1/5] y2038: cobalt/posix/clock: Adding clock_gettime64 Song Chen
2021-04-23 11:10 ` Bezdeka, Florian
2021-04-23 11:48   ` chensong [this message]
2021-04-23 14:46 ` Bezdeka, Florian
  -- strict thread matches above, loose matches on Subject: below --
2021-04-20  6:22 Song Chen

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=45c72bd2-2eac-f627-2e8f-8593389f4486@189.cn \
    --to=chensong_2000@189.cn \
    --cc=chensong@tj.kylinos.cn \
    --cc=florian.bezdeka@siemens.com \
    --cc=xenomai@xenomai.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.