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:
Adithya Baglody 2018-10-16 11:59:12 +05:30 committed by Anas Nashif
commit 4b066212b6
2 changed files with 10 additions and 8 deletions

View file

@ -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);