csky: Fix versioncheck warnings
authorDeyan Wang <wonder_rock@126.com>
Mon, 14 Feb 2022 12:02:50 +0000 (20:02 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 8 Apr 2022 07:05:23 +0000 (15:05 +0800)
$make versioncheck

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.

comments from Randy:

The patch makes sense but these are not compile warnings.
They come from scripts/checkversion.pl, which can be called
by 'make versioncheck', so I suppose that something in your
build system is running 'make versioncheck'.

Signed-off-by: Deyan Wang <wonder_rock@126.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/csky/include/asm/io.h
arch/csky/kernel/process.c
arch/csky/mm/dma-mapping.c

index f82654053dc056da95f43c3402741cee9263c0b2..ed53f0b47388088d84eb55253039164e698b9dc4 100644 (file)
@@ -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
index 3d0ca22cd0e2e6075c4bcdcb5d69d6e55f5131f1..5de04707aa07bc4ddf9ee17e59bf679dc5721bae 100644 (file)
@@ -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>
index c3a775a7e8f9d84c684cfd58e9cd54efe848931d..82447029feb485aef3554121e8d58b2840d12391 100644 (file)
@@ -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,