public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] LoongArch: KVM: remove unnecessary header include path
@ 2025-02-10 10:21 Masahiro Yamada
  2025-02-11 12:14 ` bibo mao
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2025-02-10 10:21 UTC (permalink / raw)
  To: Tianrui Zhao, Bibo Mao, Huacai Chen, kvm, loongarch
  Cc: linux-kernel, Masahiro Yamada, WANG Xuerui

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@kernel.org>
---

 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
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] LoongArch: KVM: remove unnecessary header include path
  2025-02-10 10:21 [PATCH] LoongArch: KVM: remove unnecessary header include path Masahiro Yamada
@ 2025-02-11 12:14 ` bibo mao
  0 siblings, 0 replies; 2+ messages in thread
From: bibo mao @ 2025-02-11 12:14 UTC (permalink / raw)
  To: Masahiro Yamada, Tianrui Zhao, Huacai Chen, kvm, loongarch
  Cc: linux-kernel, WANG Xuerui

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@kernel.org>
> ---
> 
>   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@loongson.cn>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-11 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 10:21 [PATCH] LoongArch: KVM: remove unnecessary header include path Masahiro Yamada
2025-02-11 12:14 ` bibo mao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox