Skip to content

Commit

Permalink
sched/: Fix some new coding standard issues.
Browse files Browse the repository at this point in the history
Fix new coding standard issues found by new, revised nxstyle.
  • Loading branch information
gregory-nutt authored and Ouss4 committed Mar 9, 2020
1 parent f764947 commit 9f3648d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sched/irq/irq_procfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion sched/task/task_vfork.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f3648d

Please sign in to comment.