Re: [PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-26 Thread Gedare Bloom
send -v2 without the acinclude. On Thu, Jan 26, 2017 at 12:00 PM, Kuan Hsun Chen wrote: > I accidentally add c/src/lib/libbsp/powerpc/acinclude.m4 into the comment. > Now ticket 2885 should be close. The previous patch has a typo in the > comment I hotfix in this patch. > > 2017-01-26 18:02 GMT+0

[PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-26 Thread Kuan-Hsun Chen
Prepare a precondition to prevent the potential integer overflow. Remove one redundant parameter in _Rate_monotonic_Renew_deadline(). sptests/sp78: Create A test case for checking the overflow condition of postponed_jobs in rtems_rate_monotonic_period_status. Close #2885. --- c/src/lib/libbsp/p

Re: [PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-26 Thread Kuan Hsun Chen
I accidentally add c/src/lib/libbsp/powerpc/acinclude.m4 into the comment. Now ticket 2885 should be close. The previous patch has a typo in the comment I hotfix in this patch. 2017-01-26 18:02 GMT+01:00 Kuan-Hsun Chen : > Prepare a precondition to prevent the potential integer overflow. > > Remo

[PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-26 Thread Kuan-Hsun Chen
Prepare a precondition to prevent the potential integer overflow. Remove one redundant parameter in _Rate_monotonic_Renew_deadline(). sptests/sp78: Create A test case for checking the overflow condition of postponed_jobs in rtems_rate_monotonic_period_status. Close #2885. --- c/src/lib/libbsp/p

Re: [PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-25 Thread Kuan Hsun Chen
Hi all, Like sp71 and sp77. I will prepare sp78 for this overflow testing. Best, Kuan-Hsun 2017-01-25 16:10 GMT+01:00 Kuan Hsun Chen : > Hi Sebastian, > > Should I test the overflow condition together with sp69 or prepare a new > test for this matter? > > Best, > Kuan-Hsun > > 2017-01-25 15:53

Re: [PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-25 Thread Kuan Hsun Chen
Hi Sebastian, Should I test the overflow condition together with sp69 or prepare a new test for this matter? Best, Kuan-Hsun 2017-01-25 15:53 GMT+01:00 Sebastian Huber < sebastian.hu...@embedded-brains.de>: > > > On 25/01/17 15:48, Kuan-Hsun Chen wrote: > >> --- >> cpukit/rtems/src/ratemontim

Re: [PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-25 Thread Sebastian Huber
On 25/01/17 15:48, Kuan-Hsun Chen wrote: --- cpukit/rtems/src/ratemontimeout.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit/rtems/src/ratemontimeout.c b/cpukit/rtems/src/ratemontimeout.c index bcc4ccf..079ad41 100644 --- a/cpukit/rtems/src/ratemontimeout

[PATCH] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-25 Thread Kuan-Hsun Chen
--- cpukit/rtems/src/ratemontimeout.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit/rtems/src/ratemontimeout.c b/cpukit/rtems/src/ratemontimeout.c index bcc4ccf..079ad41 100644 --- a/cpukit/rtems/src/ratemontimeout.c +++ b/cpukit/rtems/src/ratemontimeout.c @@ -