kpatch/kmod
Artem Savkov 355927287d livepatch-patch-hook: fix non-rhel builds
Preprocessor doesn't stop unwinding macroses in #if clauses if one of
the conditions is false resulting in the following error when trying to
build on non-rhel system:

patch/livepatch-patch-hook.c:53:48: error: missing binary operator before token "("
       RHEL_RELEASE_CODE <= RHEL_RELEASE_VERSION(7, 5))

Fix by using 2 levels of #ifs instead of &&. The same way HAVE_CALLBACKS
does.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2018-05-31 12:28:03 +02:00
..
core kmod/core: add check for CONFIG_STACKTRACE 2018-04-19 17:27:38 -05:00
patch livepatch-patch-hook: fix non-rhel builds 2018-05-31 12:28:03 +02:00
Makefile kmod: Fix install path 2016-05-06 10:47:43 +01:00