Re: [PATCH] tracing/user_events: fix long size check in the ABI selftest

2023-09-13 Thread Alexander Lobakin
From: Alexander Lobakin Date: Mon, 11 Sep 2023 18:09:35 +0200 > The current check for 64-bit architecture is double-bugged. > First of all, %BITS_PER_LONG is not available in the userspace, > the underscored version from must be used. > The following check: > > #if BITS_PER_LONG == 0 > #error

[PATCH] tracing/user_events: fix long size check in the ABI selftest

2023-09-11 Thread Alexander Lobakin
The current check for 64-bit architecture is double-bugged. First of all, %BITS_PER_LONG is not available in the userspace, the underscored version from must be used. The following check: #if BITS_PER_LONG == 0 #error #endif triggers the error in this source file -- the macro is undefined and