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
|
@ -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); \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue