From: Matthew Wilcox <matthew-Ztpu424NOJ8@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: Richard Cochran
<richardcochran-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
john stultz <johnstul-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>,
linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/1] posix clocks: introduce syscall for clock tuning.
Date: Mon, 23 Aug 2010 07:43:30 -0600 [thread overview]
Message-ID: <20100823134330.GM12892@parisc-linux.org> (raw)
In-Reply-To: <201008231457.26690.arnd-r2nGTMty4D4@public.gmane.org>
On Mon, Aug 23, 2010 at 02:57:26PM +0200, Arnd Bergmann wrote:
> > +static inline int common_clock_adj(const clockid_t which_clock, int ppb,
> > + struct timespec *tp)
> > +{
> > + return -EOPNOTSUPP;
> > +}
> > +
> > static int no_timer_create(struct k_itimer *new_timer)
> > {
> > return -EOPNOTSUPP;
>
> So we already return -EOPNOTSUPP in some cases? The man page does not document this.
> I wonder if we should change that to -EINVAL as well.
ENOTTY is the usual errno for "inappropriate ioctl for device". Due to
the way this patch has been chopped up, I can't tell if that's what is
intended here.
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
next prev parent reply other threads:[~2010-08-23 13:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-23 8:15 [PATCH RFC 0/1] introduce a syscall for posix clock tuning Richard Cochran
2010-08-23 8:16 ` [PATCH 1/1] posix clocks: introduce syscall for " Richard Cochran
2010-08-23 8:22 ` Mike Frysinger
2010-08-23 8:52 ` Richard Cochran
2010-08-23 8:25 ` Bert Wesarg
2010-08-23 8:55 ` Richard Cochran
[not found] ` <e253843e07ce5d15c2c8d11ce786bf979ed85ca5.1282550649.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org>
2010-08-23 12:57 ` Arnd Bergmann
[not found] ` <201008231457.26690.arnd-r2nGTMty4D4@public.gmane.org>
2010-08-23 13:43 ` Matthew Wilcox [this message]
[not found] ` <20100823134330.GM12892-6jwH94ZQLHl74goWV3ctuw@public.gmane.org>
2010-08-23 14:46 ` Arnd Bergmann
2010-08-23 16:57 ` Roland McGrath
2010-08-23 20:41 ` john stultz
[not found] ` <1282596073.3111.373.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-08-27 11:24 ` Richard Cochran
[not found] ` <20100827112406.GB11657-7KxsofuKt4IfAd9E5cN8NEzG7cXyKsk/@public.gmane.org>
2010-08-27 20:48 ` John Stultz
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=20100823134330.GM12892@parisc-linux.org \
--to=matthew-ztpu424noj8@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=johnstul-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=richardcochran-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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;
as well as URLs for NNTP newsgroup(s).