summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2022-11-18 17:22:51 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2022-11-23 18:24:07 +0300
commit9a435b7bc911d971490f0ce37aa0c6a1308722f4 (patch)
treea16df66be324a2f01ec9624ba91c893d95e6f9ae /drivers/s390
parent17ca7df6fcc44470199b66752b8d8459e17aa077 (diff)
downloadlinux-9a435b7bc911d971490f0ce37aa0c6a1308722f4.tar.xz
s390/kprobes: define insn cache ops within private header file
clang warns about an unused insn cache ops function: arch/s390/kernel/kprobes.c:34:1: error: unused function 'is_kprobe_s390_insn_slot' [-Werror,-Wunused-function] DEFINE_INSN_CACHE_OPS(s390_insn); ^ ./include/linux/kprobes.h:335:20: note: expanded from macro 'DEFINE_INSN_CACHE_OPS' static inline bool is_kprobe_##__name##_slot(unsigned long addr) \ ^ <scratch space>:88:1: note: expanded from here is_kprobe_s390_insn_slot ^ Move the definition to a private header file, which is also similar to the generic insn cache ops. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions