All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [PATCH] doc: Fix return description for POSIX sched_get_priority functions.
@ 2015-01-09 16:10 Jeffrey Melville
  2015-01-12  1:00 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Melville @ 2015-01-09 16:10 UTC (permalink / raw)
  To: xenomai@xenomai.org

---

I found a minor issue in the documentation for scheduler priorities in
the 2.6.x tree. See the patch below.

Cheers,
Jeff

 ksrc/skins/posix/sched.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ksrc/skins/posix/sched.c b/ksrc/skins/posix/sched.c
index bdb79d3..b1af274 100644
--- a/ksrc/skins/posix/sched.c
+++ b/ksrc/skins/posix/sched.c
@@ -69,7 +69,7 @@
  * @param policy scheduling policy, one of SCHED_FIFO, SCHED_RR,
  * SCHED_SPORADIC, SCHED_TP or SCHED_OTHER.
  *
- * @retval 0 on success;
+ * @retval The minimum priority of @a policy on success;
  * @retval -1 with @a errno set if:
  * - EINVAL, @a policy is invalid.
  *
@@ -105,7 +105,7 @@ int sched_get_priority_min(int policy)
  * @param policy scheduling policy, one of SCHED_FIFO, SCHED_RR,
  * SCHED_SPORADIC, SCHED_TP or SCHED_OTHER.
  *
- * @retval 0 on success;
+ * @retval The maximum priority of @a policy on success;
  * @retval -1 with @a errno set if:
  * - EINVAL, @a policy is invalid.
  *
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Xenomai] [PATCH] doc: Fix return description for POSIX sched_get_priority functions.
  2015-01-09 16:10 [Xenomai] [PATCH] doc: Fix return description for POSIX sched_get_priority functions Jeffrey Melville
@ 2015-01-12  1:00 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2015-01-12  1:00 UTC (permalink / raw)
  To: Jeffrey Melville; +Cc: xenomai@xenomai.org

On Fri, Jan 09, 2015 at 11:10:41AM -0500, Jeffrey Melville wrote:
> ---
> 
> I found a minor issue in the documentation for scheduler priorities in
> the 2.6.x tree. See the patch below.

Merged, thanks.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-12  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-09 16:10 [Xenomai] [PATCH] doc: Fix return description for POSIX sched_get_priority functions Jeffrey Melville
2015-01-12  1:00 ` Gilles Chanteperdrix

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.