sched/: Fix some new coding standard issues.

Fix new coding standard issues found by new, revised nxstyle.
This commit is contained in:
Gregory Nutt 2020-03-09 10:01:09 -06:00 committed by Abdelatif Guettouche
parent f764947c73
commit 9f3648d329
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ struct irq_file_s
size_t remaining; /* Number of available characters in buffer */
size_t ncopied; /* Number of characters in buffer */
off_t offset; /* Current file offset */
char line[IRQ_LINELEN]; /* Pre-allocated buffer for formatted lines */
char line[IRQ_LINELEN]; /* Pre-allocated buffer for formatted lines */
};
/****************************************************************************

View File

@ -335,7 +335,7 @@ FAR struct task_tcb_s *nxtask_vforksetup(start_t retaddr, size_t *argsize)
/* Get the priority of the parent task */
#ifdef CONFIG_PRIORITY_INHERITANCE
priority = parent->base_priority; /* "Normal," unboosted priority */
priority = parent->base_priority; /* "Normal," unboosted priority */
#else
priority = parent->sched_priority; /* Current priority */
#endif