Re: [PATCH] LoongArch: KVM: remove unnecessary header include path

From: bibo mao
Date: Tue Feb 11 2025 - 07:16:52 EST


On 2025/2/10 下午6:21, Masahiro Yamada wrote:
arch/loongarch/kvm/ includes local headers with the double-quote form
(#include "..."). Also, TRACE_INCLUDE_PATH in arch/loongarch/kvm/trace.h
is relative to include/trace/.

Hence, the local header search path is unneeded.

Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---

arch/loongarch/kvm/Makefile | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/loongarch/kvm/Makefile b/arch/loongarch/kvm/Makefile
index 3a01292f71cc..f4c8e35c216a 100644
--- a/arch/loongarch/kvm/Makefile
+++ b/arch/loongarch/kvm/Makefile
@@ -3,8 +3,6 @@
# Makefile for LoongArch KVM support
#
-ccflags-y += -I $(src)
-
include $(srctree)/virt/kvm/Makefile.kvm
obj-$(CONFIG_KVM) += kvm.o

Reviewed-by: Bibo Mao <maobibo@xxxxxxxxxxx>