kernel: sem: Fix few MISRA C violations.
This patch fixes few of the violations inside sem.c Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
parent
21d43a6fe4
commit
4b066212b6
2 changed files with 10 additions and 8 deletions
|
@ -2866,8 +2866,8 @@ __syscall void k_mutex_unlock(struct k_mutex *mutex);
|
|||
|
||||
struct k_sem {
|
||||
_wait_q_t wait_q;
|
||||
unsigned int count;
|
||||
unsigned int limit;
|
||||
u32_t count;
|
||||
u32_t limit;
|
||||
_POLL_EVENT;
|
||||
|
||||
_OBJECT_TRACING_NEXT_PTR(k_sem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue