Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

csky: Fix versioncheck warnings

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

authored by

Deyan Wang and committed by
Guo Ren
cfb24463 8c4d1647

-3
-1
arch/csky/include/asm/io.h
··· 5 5 6 6 #include <linux/pgtable.h> 7 7 #include <linux/types.h> 8 - #include <linux/version.h> 9 8 10 9 /* 11 10 * I/O memory access primitives. Reads are ordered relative to any
-1
arch/csky/kernel/process.c
··· 2 2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 3 3 4 4 #include <linux/module.h> 5 - #include <linux/version.h> 6 5 #include <linux/sched.h> 7 6 #include <linux/sched/task_stack.h> 8 7 #include <linux/sched/debug.h>
-1
arch/csky/mm/dma-mapping.c
··· 9 9 #include <linux/mm.h> 10 10 #include <linux/scatterlist.h> 11 11 #include <linux/types.h> 12 - #include <linux/version.h> 13 12 #include <asm/cache.h> 14 13 15 14 static inline void cache_op(phys_addr_t paddr, size_t size,