treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / lib / livepatch / Makefile
blob295b94bff37000f45449f5581b2f0bcce9ba65bd
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for livepatch test code.
5 obj-$(CONFIG_TEST_LIVEPATCH) += test_klp_atomic_replace.o \
6 test_klp_callbacks_demo.o \
7 test_klp_callbacks_demo2.o \
8 test_klp_callbacks_busy.o \
9 test_klp_callbacks_mod.o \
10 test_klp_livepatch.o \
11 test_klp_shadow_vars.o \
12 test_klp_state.o \
13 test_klp_state2.o \
14 test_klp_state3.o
16 # Target modules to be livepatched require CC_FLAGS_FTRACE
17 CFLAGS_test_klp_callbacks_busy.o += $(CC_FLAGS_FTRACE)
18 CFLAGS_test_klp_callbacks_mod.o += $(CC_FLAGS_FTRACE)