diff options
author | Marco Elver <[email protected]> | 2021-04-29 21:07:32 +0200 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2021-07-23 11:49:38 -0500 |
commit | 42365abdde2a22992e320ea5ae8f023d07352db3 (patch) | |
tree | 7ed51850ac7fb417d89fb2cb09c3c1708589ab99 /net/lapb/lapb_timer.c | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) |
sparc64: Add compile-time asserts for siginfo_t offsets
To help catch ABI breaks at compile-time, add compile-time assertions to
verify the siginfo_t layout. Unlike other architectures, sparc64 is
special, because it is one of few architectures requiring si_trapno.
ABI breaks around that field would only be caught here.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/874kcvzbuu.fsf_-_@disp2133
Suggested-by: Eric W. Biederman <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions