[PATCH 0/2] Define is_signed_type() once

From: Bart Van Assche
Date: Fri Aug 26 2022 - 12:21:31 EST


Hi Kees,

The changes in this patch series are as follows:
- Add a unit test for the is_signed_type() macro.
- Define the is_signed_type() macro once.

Please consider these patches for the next merge window.

Thanks,

Bart.

Bart Van Assche (2):
testing/selftests: Add tests for the is_signed_type() macro
overflow, tracing: Define the is_signed_type() macro once

include/linux/compiler.h | 6 +++++
include/linux/overflow.h | 1 -
include/linux/trace_events.h | 2 --
lib/Kconfig.debug | 12 +++++++++
lib/Makefile | 1 +
lib/is_signed_type_test.c | 48 ++++++++++++++++++++++++++++++++++++
6 files changed, 67 insertions(+), 3 deletions(-)
create mode 100644 lib/is_signed_type_test.c