diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/asm-generic/siginfo.h | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/asm-generic/siginfo.h')
| -rw-r--r-- | include/arch/x86_64/asm-generic/siginfo.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/arch/x86_64/asm-generic/siginfo.h b/include/arch/x86_64/asm-generic/siginfo.h index eae3587b..479feb9c 100644 --- a/include/arch/x86_64/asm-generic/siginfo.h +++ b/include/arch/x86_64/asm-generic/siginfo.h @@ -45,8 +45,8 @@ union __sifields { __kernel_timer_t _tid; /* timer id */ int _overrun; /* overrun count */ sigval_t _sigval; /* same as below */ - int _sys_private; /* Not used by the kernel. Historic leftover. - Always 0. */ + int _sys_private; /* Not used by the kernel. Historic leftover. + Always 0. */ } _timer; /* POSIX.1b signals */ @@ -69,9 +69,7 @@ union __sifields { struct { void *_addr; /* faulting insn/memory ref. */ -#define __ADDR_BND_PKEY_PAD \ - (__alignof__(void *) < sizeof(short) ? sizeof(short) : \ - __alignof__(void *)) +#define __ADDR_BND_PKEY_PAD (__alignof__(void *) < sizeof(short) ? sizeof(short) : __alignof__(void *)) union { /* used on alpha and sparc */ int _trapno; /* TRAP # which caused the signal */ @@ -331,8 +329,7 @@ typedef struct siginfo { #endif #define SIGEV_MAX_SIZE 64 -#define SIGEV_PAD_SIZE \ - ((SIGEV_MAX_SIZE - __ARCH_SIGEV_PREAMBLE_SIZE) / sizeof(int)) +#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE - __ARCH_SIGEV_PREAMBLE_SIZE) / sizeof(int)) typedef struct sigevent { sigval_t sigev_value; |
