[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d6bb73c-2486-f862-129e-877a571cce28@infradead.org>
Date: Mon, 14 Feb 2022 08:17:39 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: wonder_rock@....com
Cc: axboe@...nel.dk, guoren@...nel.org, linux-csky@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] csky: Fix versioncheck warnings
On 2/14/22 04:02, wonder_rock@....com wrote:
> From: Deyan Wang <wonder_rock@....com>
>
> arch/csky/include/asm/io.h: 8 linux/version.h not needed.
> arch/csky/kernel/process.c: 5 linux/version.h not needed.
> arch/csky/mm/dma-mapping.c: 12 linux/version.h not needed.
>
> Signed-off-by: Deyan Wang <wonder_rock@....com>
Acked-by: Randy Dunlap <rdunlap@...radead.org>
Thanks.
> ---
> arch/csky/include/asm/io.h | 1 -
> arch/csky/kernel/process.c | 1 -
> arch/csky/mm/dma-mapping.c | 1 -
> 3 files changed, 3 deletions(-)
>
> diff --git a/arch/csky/include/asm/io.h b/arch/csky/include/asm/io.h
> index f82654053dc0..ed53f0b47388 100644
> --- a/arch/csky/include/asm/io.h
> +++ b/arch/csky/include/asm/io.h
> @@ -5,7 +5,6 @@
>
> #include <linux/pgtable.h>
> #include <linux/types.h>
> -#include <linux/version.h>
>
> /*
> * I/O memory access primitives. Reads are ordered relative to any
> diff --git a/arch/csky/kernel/process.c b/arch/csky/kernel/process.c
> index 3d0ca22cd0e2..5de04707aa07 100644
> --- a/arch/csky/kernel/process.c
> +++ b/arch/csky/kernel/process.c
> @@ -2,7 +2,6 @@
> // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
>
> #include <linux/module.h>
> -#include <linux/version.h>
> #include <linux/sched.h>
> #include <linux/sched/task_stack.h>
> #include <linux/sched/debug.h>
> diff --git a/arch/csky/mm/dma-mapping.c b/arch/csky/mm/dma-mapping.c
> index c3a775a7e8f9..82447029feb4 100644
> --- a/arch/csky/mm/dma-mapping.c
> +++ b/arch/csky/mm/dma-mapping.c
> @@ -9,7 +9,6 @@
> #include <linux/mm.h>
> #include <linux/scatterlist.h>
> #include <linux/types.h>
> -#include <linux/version.h>
> #include <asm/cache.h>
>
> static inline void cache_op(phys_addr_t paddr, size_t size,
--
~Randy
Powered by blists - more mailing lists