Skip to content

percpu: Add a test case and fix for clang

Andy Shevchenko linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] percpu-add-a-test-case-for-the-specific-64-bit-value-addition.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesApplied 2/2

Changes in v2 from the cover letter

- updated Subject (Dave)
- added test case

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2x86/percpu: Fix clang warning when dealing with unsigned typesarch/x86/include/asm/percpu.h+4 -30 repliesApplied
2/2percpu: Add a test case for the specific 64-bit value additionlib/percpu_test.c+10 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac