Re: Warnings in xz

2017-03-10 Thread Chris Johns
On 11/03/2017 02:10, Joel Sherrill wrote: And to pile on... Coverity thinks there is an out of bounds write in xz_dec_lzma2.c: https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=108959059&defectInstanceId=30877313&mergedDefectId=711586 779 * All probabilities are initia

Re: warnings in libdl

2017-03-10 Thread Chris Johns
On 11/03/2017 08:48, Joel Sherrill wrote: These printf() format warnings show up on m68k but not on powerpc, sparc, or mips per my recent builds. I assume these printf's need to use the inttypes.h constants but I will entrust that to Chris to make the right call. :) Please create a ticket for

Re: [PATCH 3/3] c-user/rate_monotonic_manager.rst: Use Latex math for utilization formulas

2017-03-10 Thread Chris Johns
Hi Joel, The subject is misleading, Latex maybe used if generating a PDF while mathjax is used for HTML. To be precise we use ReST's `math` support which translates to the appropriate format implementation. :) Chris On 11/03/2017 08:29, Joel Sherrill wrote: --- c-user/rate_monotonic_manage

Re: [PATCH 3/3] c-user/rate_monotonic_manager.rst: Use Latex math for utilization formulas

2017-03-10 Thread Kuan Hsun Chen
Hi, The formulas both are correct. More formally, we can explicitly define "n" as the maximum number of tasks and "i" as the index of task. Then the formulas will become more clear like this: Utilization = \sum_{i=1}^{n} Time_i/Period_i maximumUtilization = n * (2^{\frac{1}{n}} - 1) Best, Kuan-H

Re: [PATCH 3/3] c-user/rate_monotonic_manager.rst: Use Latex math for utilization formulas

2017-03-10 Thread Joel Sherrill
I would appreciate someone double-checking that I translated the formulas correctly. Thanks. --joel On Fri, Mar 10, 2017 at 3:29 PM, Joel Sherrill wrote: > --- > c-user/rate_monotonic_manager.rst | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) > > diff --git a/c-user/ra

warnings in libdl

2017-03-10 Thread Joel Sherrill
Hi These printf() format warnings show up on m68k but not on powerpc, sparc, or mips per my recent builds. I assume these printf's need to use the inttypes.h constants but I will entrust that to Chris to make the right call. :) ../../../../../../rtems/c/src/../../cpukit/libdl/rtl-obj-cache.c:175:

[PATCH 3/3] c-user/rate_monotonic_manager.rst: Use Latex math for utilization formulas

2017-03-10 Thread Joel Sherrill
--- c-user/rate_monotonic_manager.rst | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/c-user/rate_monotonic_manager.rst b/c-user/rate_monotonic_manager.rst index 05eb59f..1309a88 100644 --- a/c-user/rate_monotonic_manager.rst +++ b/c-user/rate_monotonic_manager.

Re: Warnings in xz

2017-03-10 Thread Joel Sherrill
And to pile on... Coverity thinks there is an out of bounds write in xz_dec_lzma2.c: https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=108959059&defectInstanceId=30877313&mergedDefectId=711586 779 * All probabilities are initialized to the same value. This hack 780

Re: Warnings in xz

2017-03-10 Thread Sebastian Huber
Just for reference: https://devel.rtems.org/ticket/2909 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request.