diff options
| author | Bart Van Assche <[email protected]> | 2022-08-26 16:21:15 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-08-31 17:54:05 +0000 |
| commit | addbeea6f50b5ac344331652dd7f35faf760969e (patch) | |
| tree | d9c157a84b0eb746f15137a7f2653339fb9bf4b7 /lib/overflow_kunit.c | |
| parent | Linux 6.0-rc2 (diff) | |
| download | kernel-addbeea6f50b5ac344331652dd7f35faf760969e.tar.gz kernel-addbeea6f50b5ac344331652dd7f35faf760969e.zip | |
testing/selftests: Add tests for the is_signed_type() macro
Although not documented, is_signed_type() must support the 'bool' and
pointer types next to scalar and enumeration types. Add a selftest that
verifies that this macro handles all supported types correctly.
Cc: Andrew Morton <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Isabella Basso <[email protected]>
Cc: "Jason A. Donenfeld" <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Luc Van Oostenryck <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Sander Vanheule <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Yury Norov <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Tested-by: Isabella Basso <[email protected]>
Acked-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions
