[PATCH v2 0/2] percpu: Add a test case and fix for clang

From: Andy Shevchenko
Date: Wed Oct 16 2024 - 14:26:57 EST


Add a test case to percpu to check a corner case with the specific
64-bit unsigned value. This test case shows why the first patch is
done in the way it's done.

The before and after has been tested with binary comparison of
the percpu_test module and runnig it on the real Intel system.

v2:
- updated Subject (Dave)
- added test case

Andy Shevchenko (2):
x86/percpu: Fix clang warning when dealing with unsigned types
percpu: Add a test case for the specific 64-bit value addition

arch/x86/include/asm/percpu.h | 7 ++++---
lib/percpu_test.c | 11 ++++++++++-
2 files changed, 14 insertions(+), 4 deletions(-)

--
2.43.0.rc1.1336.g36b5255a03ac