Re: [PATCH v3] selftests/user_events: Fix abi_test for BE archs

2023-10-17 Thread Shuah Khan
On 10/17/23 14:38, Steven Rostedt wrote: On Thu, 5 Oct 2023 21:57:12 + Beau Belgrave wrote: 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 v

Re: [PATCH v3] selftests/user_events: Fix abi_test for BE archs

2023-10-17 Thread Steven Rostedt
On Thu, 5 Oct 2023 21:57:12 + Beau Belgrave wrote: > 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.

[PATCH v3] selftests/user_events: Fix abi_test for BE archs

2023-10-05 Thread Beau Belgrave
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