Skip to contentSkip to conversation

LoongArch: KVM: remove unnecessary header include path

PATCH In review Masahiro Yamada 2 participants 2 messages Feb 10, 2025 – Feb 11, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 LoongArch: KVM: remove unnecessary header include path

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.

---

 arch/loongarch/kvm/Makefile | 2 --
 1 file changed, 2 deletions(-)
arch/loongarch/kvm/Makefile +0 -2
index 3a01292f71cc..f4c8e35c216a 100644
@@ -3,8 +3,6 @@
 # Makefile for LoongArch KVM support
 #
 
-ccflags-y += -I $(src)
-
 include $(srctree)/virt/kvm/Makefile.kvm
 
 obj-$(CONFIG_KVM) += kvm.o
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Masahiro Yamada

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.

---

  arch/loongarch/kvm/Makefile | 2 --
  1 file changed, 2 deletions(-)
arch/loongarch/kvm/Makefile +0 -0
index 3a01292f71cc..f4c8e35c216a 100644

arch/loongarch/kvm/Makefile line 8

Quoted 8 lines
arch/loongarch/kvm/Makefile +0 -2
@@ -3,8 +3,6 @@
  # Makefile for LoongArch KVM support
  #
 
-ccflags-y += -I $(src)
-
  include $(srctree)/virt/kvm/Makefile.kvm
 
  obj-$(CONFIG_KVM) += kvm.o