[Xenomai-git] Josh Bowman : alchemy/queue: fix alloc in rt_queue_create() with qlimit != Q_UNLIMITED
Module: xenomai-3 Branch: stable-3.0.x Commit: 5e54f18b640e9fde55f50dec986357d618a9ac7e URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5e54f18b640e9fde55f50dec986357d618a9ac7e Author: Josh Bowman Date: Wed Feb 22 18:29:41 2017 +0100 alchemy/queue: fix alloc in rt_queue_create() with qlimit != Q_UNLIMITED --- lib/alchemy/queue.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/alchemy/queue.c b/lib/alchemy/queue.c index 3a45257..24bfba1 100644 --- a/lib/alchemy/queue.c +++ b/lib/alchemy/queue.c @@ -235,7 +235,7 @@ int rt_queue_create(RT_QUEUE *queue, const char *name, poolsize + (poolsize * 5 / 100)); else ret = heapobj_init_array(&qcb->hobj, qcb->name, -(poolsize / qlimit) * +(poolsize / qlimit) + sizeof(struct alchemy_queue_msg), qlimit); if (ret) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Josh Bowman : alchemy/queue: fix alloc in rt_queue_create() with qlimit != Q_UNLIMITED
Module: xenomai-3 Branch: master Commit: 5e54f18b640e9fde55f50dec986357d618a9ac7e URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5e54f18b640e9fde55f50dec986357d618a9ac7e Author: Josh Bowman Date: Wed Feb 22 18:29:41 2017 +0100 alchemy/queue: fix alloc in rt_queue_create() with qlimit != Q_UNLIMITED --- lib/alchemy/queue.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/alchemy/queue.c b/lib/alchemy/queue.c index 3a45257..24bfba1 100644 --- a/lib/alchemy/queue.c +++ b/lib/alchemy/queue.c @@ -235,7 +235,7 @@ int rt_queue_create(RT_QUEUE *queue, const char *name, poolsize + (poolsize * 5 / 100)); else ret = heapobj_init_array(&qcb->hobj, qcb->name, -(poolsize / qlimit) * +(poolsize / qlimit) + sizeof(struct alchemy_queue_msg), qlimit); if (ret) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Josh Bowman : alchemy/queue: fix alloc in rt_queue_create() with qlimit != Q_UNLIMITED
Module: xenomai-3 Branch: next Commit: 5e54f18b640e9fde55f50dec986357d618a9ac7e URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5e54f18b640e9fde55f50dec986357d618a9ac7e Author: Josh Bowman Date: Wed Feb 22 18:29:41 2017 +0100 alchemy/queue: fix alloc in rt_queue_create() with qlimit != Q_UNLIMITED --- lib/alchemy/queue.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/alchemy/queue.c b/lib/alchemy/queue.c index 3a45257..24bfba1 100644 --- a/lib/alchemy/queue.c +++ b/lib/alchemy/queue.c @@ -235,7 +235,7 @@ int rt_queue_create(RT_QUEUE *queue, const char *name, poolsize + (poolsize * 5 / 100)); else ret = heapobj_init_array(&qcb->hobj, qcb->name, -(poolsize / qlimit) * +(poolsize / qlimit) + sizeof(struct alchemy_queue_msg), qlimit); if (ret) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git