mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
The abi_test currently uses a long sized test value for enablement
checks. On LE this works fine, however, on BE this results in inaccurate
assert checks due to a bit being used and assuming it's value is the
same on both LE and BE.
Use int type for 32-bit values and long type for 64-bit values to ensure
appropriate behavior on both LE and BE.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| abi_test.c | ||
| config | ||
| dyn_test.c | ||
| ftrace_test.c | ||
| Makefile | ||
| perf_test.c | ||
| settings | ||
| user_events_selftests.h | ||