nuttx/sched
Gregory Nutt 5b7dfa0213 Sporadic scheduler: Fix compile errors when assertions are enabled:
Fix missing semicolon at the end of a DEBUGASSERT statement:

sched/sched_sporadic.c: In function 'sporadic_budget_expire':
sched/sched_sporadic.c:512:15: error: expected ';' before 'period'
  512 |               period = (sporadic->repl_period >> 1) - unrealized;
      |               ^~~~~~
sched/sched_sporadic.c: In function 'nxsched_resume_sporadic':
sched/sched_sporadic.c:1078:19: error: expected ';' before 'period'
 1078 |                   period = (sporadic->repl_period >> 1) - unrealized;
      |                   ^~~~~~

Fix use of uninitialized variable in DEBUGASSERT statement:

sched/sched_sporadic.c:466:27: warning: 'sporadic' may be used uninitialized in this function [-Wmaybe-uninitialized]
  466 |                   sporadic->nrepls > 0);

Also fixes some typos.

There should be no unexpected side-effects of this changed.

Tested with the stm32f4discovery:sporadic configuration (see PR #3097
2021-03-19 23:18:28 -07:00
..
clock Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
environ sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
group fs: allocate file/socket dynamically 2021-03-17 06:46:42 -07:00
init debug tools: add heap & stack check in idle thread 2021-03-04 18:38:05 -08:00
irq sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
module sched/module/mod_insmod.c: Fix a resource leak 2021-02-24 23:42:06 -08:00
mqueue sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
paging sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread sched: pthread: Remove a redundant critical section in pthread_condclockwsait.c 2021-03-19 23:01:20 -07:00
sched Sporadic scheduler: Fix compile errors when assertions are enabled: 2021-03-19 23:18:28 -07:00
semaphore sched: semaphore: Remove a redundant critical section in nxsem_tickwait() 2021-03-16 19:50:18 -07:00
signal sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
task sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
timer sched/timer: get the previous reload value correctly 2021-01-26 18:22:54 -08:00
wdog sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
wqueue sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Kconfig fs: allocate file/socket dynamically 2021-03-17 06:46:42 -07:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00