kernel: syscalls: Whitespace fixups
The semi-automated API changes weren't checkpatch aware. Fix up whitespace warnings that snuck into the previous patches. Really this should be squashed, but that's somewhat difficult given the structure of the series. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
075c94f6e2
commit
643701aaf8
14 changed files with 55 additions and 29 deletions
|
@ -131,17 +131,17 @@ static inline bool z_arch_is_user_context(void);
|
|||
*/
|
||||
static ALWAYS_INLINE bool z_syscall_trap(void)
|
||||
{
|
||||
bool ret = false;
|
||||
bool ret = false;
|
||||
#ifdef CONFIG_USERSPACE
|
||||
#if defined(__ZEPHYR_SUPERVISOR__)
|
||||
ret = false;
|
||||
ret = false;
|
||||
#elif defined(__ZEPHYR_USER__)
|
||||
ret = true;
|
||||
ret = true;
|
||||
#else
|
||||
ret = z_arch_is_user_context();
|
||||
ret = z_arch_is_user_context();
|
||||
#endif
|
||||
#endif
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue