Re: [PATCH] selftests/livepatch: Check if CONFIG_LIVEPATCH is enabled

2024-11-17 Thread Sid
On Fri, 15 Nov 2024 at 22:44, Petr Mladek wrote: > > I like idea mentioned in Miroslav's reply. I wonder if the check > could take into account all CONFIG_* variables mentioned > in tools/testing/selftests/livepatch/config. Thanks for the feedback, I will create a new patch as suggested by Mirosl

Re: [PATCH] selftests/livepatch: Check if CONFIG_LIVEPATCH is enabled

2024-11-15 Thread Petr Mladek
On Wed 2024-11-06 23:11:20, Siddharth Menon wrote: > When CONFIG_LIVEPATCH is disabled, compilation fails due to the > required structs from the livepatch header file being undefined. > This checks for CONFIG_LIVEPATCH in order to verify that > it is enabled before compiling livepatch self-tests. >

Re: [PATCH] selftests/livepatch: Check if CONFIG_LIVEPATCH is enabled

2024-11-15 Thread Miroslav Benes
Hi, On Wed, 6 Nov 2024, Siddharth Menon wrote: > When CONFIG_LIVEPATCH is disabled, compilation fails due to the > required structs from the livepatch header file being undefined. > This checks for CONFIG_LIVEPATCH in order to verify that > it is enabled before compiling livepatch self-tests. >

[PATCH] selftests/livepatch: Check if CONFIG_LIVEPATCH is enabled

2024-11-06 Thread Siddharth Menon
When CONFIG_LIVEPATCH is disabled, compilation fails due to the required structs from the livepatch header file being undefined. This checks for CONFIG_LIVEPATCH in order to verify that it is enabled before compiling livepatch self-tests. Reviewed-by: Shuah Khan Signed-off-by: Siddharth Menon --