mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: george anzinger <george@mvista.com>
Cc: linux-kernel@vger.kernel.org, Eric.Piel@Bull.Net
Subject: Re: [PATCH] Some clean up of the time code.
Date: Mon, 9 Jun 2003 18:22:13 -0700	[thread overview]
Message-ID: <20030609182213.2072ca24.akpm@digeo.com> (raw)
In-Reply-To: <3EE52CA7.9010007@mvista.com>

george anzinger <george@mvista.com> wrote:
>
> -void do_settimeofday(struct timeval *tv)
>  +int do_settimeofday(struct timespec *tv)
>   {
>  +	if ((unsigned long)tv->tv_nsec > NSEC_PER_SEC)
>  +		return -EINVAL;
>  +

Should that be ">="?

Is there any reasonable way to avoid breaking existing
do_settimeofday() implementations? That's just more grief all round.

  reply	other threads:[~2003-06-10  1:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10  0:56 george anzinger
2003-06-10  1:22 ` Andrew Morton [this message]
2003-06-10  5:43   ` george anzinger
2003-06-10 15:36   ` george anzinger
2003-06-10 18:25     ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2003-06-09 22:57 george anzinger
2003-06-09 23:36 ` john stultz
2003-05-23 22:49 george anzinger

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=20030609182213.2072ca24.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=Eric.Piel@Bull.Net \
    --cc=george@mvista.com \
    --cc=linux-kernel@vger.kernel.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 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®