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:
Andy Ross 2019-08-13 12:58:38 -07:00 committed by Anas Nashif
commit 643701aaf8
14 changed files with 55 additions and 29 deletions

View file

@ -39,13 +39,16 @@ static struct k_spinlock lock;
#include <syscall_handler.h>
#define ATOMIC_SYSCALL_HANDLER_TARGET(name) \
static inline atomic_val_t z_vrfy_##name(atomic_t target) { \
static inline atomic_val_t z_vrfy_##name(atomic_t target) \
{ \
Z_OOPS(Z_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
return z_impl_##name((atomic_t *)target); \
}
#define ATOMIC_SYSCALL_HANDLER_TARGET_VALUE(name) \
static inline atomic_val_t z_vrfy_##name(atomic_t target, u32_t value) { \
static inline atomic_val_t z_vrfy_##name(atomic_t target, \
u32_t value) \
{ \
Z_OOPS(Z_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
return z_impl_##name((atomic_t *)target, value); \
}