tree:
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git highmem
head: 210d140cedbae8ce366294260c91ec16a3981630
commit: feccfc3b3f02a2b1f3c93bc9a5d1edb1c3436ab2 [5/15] ARM: highmem: Switch to generic
kmap atomic
config: arm-multi_v5_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout feccfc3b3f02a2b1f3c93bc9a5d1edb1c3436ab2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/highmem.h:50,
from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from include/linux/backing-dev.h:15,
from fs/open.c:16:
> arch/arm/include/asm/highmem.h:53:21: error: redefinition of
'arch_kmap_temporary_high_get'
53 | static inline void
*arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from include/linux/backing-dev.h:15,
from fs/open.c:16:
include/linux/highmem.h:42:21: note: previous definition of
'arch_kmap_temporary_high_get' was here
42 | static inline void *arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from include/linux/backing-dev.h:15,
from fs/open.c:16:
include/linux/highmem.h: In function '__kunmap_atomic':
include/linux/highmem.h:132:2: error: implicit declaration of function
'kumap_atomic_indexed'; did you mean 'kunmap_atomic_indexed'?
[-Werror=implicit-function-declaration]
132 | kumap_atomic_indexed(addr);
| ^~~~~~~~~~~~~~~~~~~~
| kunmap_atomic_indexed
cc1: some warnings being treated as errors
--
In file included from include/linux/highmem.h:50,
from fs/pipe.c:21:
> arch/arm/include/asm/highmem.h:53:21: error: redefinition of
'arch_kmap_temporary_high_get'
53 | static inline void
*arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/pipe.c:21:
include/linux/highmem.h:42:21: note: previous definition of
'arch_kmap_temporary_high_get' was here
42 | static inline void *arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/pipe.c:21:
include/linux/highmem.h: In function '__kunmap_atomic':
include/linux/highmem.h:132:2: error: implicit declaration of function
'kumap_atomic_indexed'; did you mean 'kunmap_atomic_indexed'?
[-Werror=implicit-function-declaration]
132 | kumap_atomic_indexed(addr);
| ^~~~~~~~~~~~~~~~~~~~
| kunmap_atomic_indexed
fs/pipe.c: At top level:
fs/pipe.c:760:15: warning: no previous prototype for 'account_pipe_buffers'
[-Wmissing-prototypes]
760 | unsigned long account_pipe_buffers(struct user_struct *user,
| ^~~~~~~~~~~~~~~~~~~~
fs/pipe.c:766:6: warning: no previous prototype for
'too_many_pipe_buffers_soft' [-Wmissing-prototypes]
766 | bool too_many_pipe_buffers_soft(unsigned long user_bufs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/pipe.c:773:6: warning: no previous prototype for
'too_many_pipe_buffers_hard' [-Wmissing-prototypes]
773 | bool too_many_pipe_buffers_hard(unsigned long user_bufs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/pipe.c:780:6: warning: no previous prototype for 'pipe_is_unprivileged_user'
[-Wmissing-prototypes]
780 | bool pipe_is_unprivileged_user(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
fs/pipe.c:1211:5: warning: no previous prototype for 'pipe_resize_ring'
[-Wmissing-prototypes]
1211 | int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots)
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/highmem.h:50,
from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from include/linux/blk-cgroup.h:23,
from include/linux/writeback.h:14,
from include/linux/memcontrol.h:22,
from include/linux/swap.h:9,
from fs/proc/meminfo.c:12:
> arch/arm/include/asm/highmem.h:53:21: error: redefinition of
'arch_kmap_temporary_high_get'
53 | static inline void
*arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from include/linux/blk-cgroup.h:23,
from include/linux/writeback.h:14,
from include/linux/memcontrol.h:22,
from include/linux/swap.h:9,
from fs/proc/meminfo.c:12:
include/linux/highmem.h:42:21: note: previous definition of
'arch_kmap_temporary_high_get' was here
42 | static inline void *arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from include/linux/blk-cgroup.h:23,
from include/linux/writeback.h:14,
from include/linux/memcontrol.h:22,
from include/linux/swap.h:9,
from fs/proc/meminfo.c:12:
include/linux/highmem.h: In function '__kunmap_atomic':
include/linux/highmem.h:132:2: error: implicit declaration of function
'kumap_atomic_indexed'; did you mean 'kunmap_atomic_indexed'?
[-Werror=implicit-function-declaration]
132 | kumap_atomic_indexed(addr);
| ^~~~~~~~~~~~~~~~~~~~
| kunmap_atomic_indexed
fs/proc/meminfo.c: At top level:
fs/proc/meminfo.c:22:28: warning: no previous prototype for
'arch_report_meminfo' [-Wmissing-prototypes]
22 | void __attribute__((weak)) arch_report_meminfo(struct seq_file *m)
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/highmem.h:50,
from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from fs/ext4/super.c:27:
> arch/arm/include/asm/highmem.h:53:21: error: redefinition of
'arch_kmap_temporary_high_get'
53 | static inline void
*arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from fs/ext4/super.c:27:
include/linux/highmem.h:42:21: note: previous definition of
'arch_kmap_temporary_high_get' was here
42 | static inline void *arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/blkdev.h:13,
from fs/ext4/super.c:27:
include/linux/highmem.h: In function '__kunmap_atomic':
include/linux/highmem.h:132:2: error: implicit declaration of function
'kumap_atomic_indexed'; did you mean 'kunmap_atomic_indexed'?
[-Werror=implicit-function-declaration]
132 | kumap_atomic_indexed(addr);
| ^~~~~~~~~~~~~~~~~~~~
| kunmap_atomic_indexed
fs/ext4/super.c: In function 'ext4_remount':
fs/ext4/super.c:5531:6: warning: variable 'enable_quota' set but not used
[-Wunused-but-set-variable]
5531 | int enable_quota = 0;
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/highmem.h:50,
from include/linux/pagemap.h:11,
from fs/jffs2/nodelist.c:20:
> arch/arm/include/asm/highmem.h:53:21: error: redefinition of
'arch_kmap_temporary_high_get'
53 | static inline void
*arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from fs/jffs2/nodelist.c:20:
include/linux/highmem.h:42:21: note: previous definition of
'arch_kmap_temporary_high_get' was here
42 | static inline void *arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from fs/jffs2/nodelist.c:20:
include/linux/highmem.h: In function '__kunmap_atomic':
include/linux/highmem.h:132:2: error: implicit declaration of function
'kumap_atomic_indexed'; did you mean 'kunmap_atomic_indexed'?
[-Werror=implicit-function-declaration]
132 | kumap_atomic_indexed(addr);
| ^~~~~~~~~~~~~~~~~~~~
| kunmap_atomic_indexed
fs/jffs2/nodelist.c: In function 'jffs2_add_frag_to_fragtree':
fs/jffs2/nodelist.c:255:37: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
255 | this->ofs, this->ofs + this->size);
| ^
fs/jffs2/nodelist.c:278:38: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
278 | this->ofs, this->ofs+this->size);
| ^
fs/jffs2/nodelist.c: In function 'jffs2_lookup_node_frag':
fs/jffs2/nodelist.c:558:52: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
558 | dbg_fragtree2("returning NULL, empty fragtree\n");
| ^
cc1: some warnings being treated as errors
--
In file included from include/linux/highmem.h:50,
from include/linux/pagemap.h:11,
from fs/jffs2/scan.c:18:
> arch/arm/include/asm/highmem.h:53:21: error: redefinition of
'arch_kmap_temporary_high_get'
53 | static inline void
*arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from fs/jffs2/scan.c:18:
include/linux/highmem.h:42:21: note: previous definition of
'arch_kmap_temporary_high_get' was here
42 | static inline void *arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from fs/jffs2/scan.c:18:
include/linux/highmem.h: In function '__kunmap_atomic':
include/linux/highmem.h:132:2: error: implicit declaration of function
'kumap_atomic_indexed'; did you mean 'kunmap_atomic_indexed'?
[-Werror=implicit-function-declaration]
132 | kumap_atomic_indexed(addr);
| ^~~~~~~~~~~~~~~~~~~~
| kunmap_atomic_indexed
fs/jffs2/scan.c: In function 'jffs2_scan_eraseblock':
fs/jffs2/scan.c:893:60: warning: suggest braces around empty body in an 'if'
statement [-Wempty-body]
893 | jffs2_sum_add_padding_mem(s, je32_to_cpu(node->totlen));
| ^
cc1: some warnings being treated as errors
--
In file included from include/linux/highmem.h:50,
from include/linux/pagemap.h:11,
from include/linux/nfs_fs.h:24,
from fs/nfs/nfstrace.c:5:
> arch/arm/include/asm/highmem.h:53:21: error: redefinition of
'arch_kmap_temporary_high_get'
53 | static inline void
*arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/nfs_fs.h:24,
from fs/nfs/nfstrace.c:5:
include/linux/highmem.h:42:21: note: previous definition of
'arch_kmap_temporary_high_get' was here
42 | static inline void *arch_kmap_temporary_high_get(struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11,
from include/linux/nfs_fs.h:24,
from fs/nfs/nfstrace.c:5:
include/linux/highmem.h: In function '__kunmap_atomic':
include/linux/highmem.h:132:2: error: implicit declaration of function
'kumap_atomic_indexed'; did you mean 'kunmap_atomic_indexed'?
[-Werror=implicit-function-declaration]
132 | kumap_atomic_indexed(addr);
| ^~~~~~~~~~~~~~~~~~~~
| kunmap_atomic_indexed
In file included from fs/nfs/nfstrace.h:1444,
from fs/nfs/nfstrace.c:10:
include/trace/define_trace.h: At top level:
include/trace/define_trace.h:95:42: fatal error: ./nfstrace.h: No such file or
directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
cc1: some warnings being treated as errors
compilation terminated.
#
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id...
git remote add tglx-devel
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel highmem
git checkout feccfc3b3f02a2b1f3c93bc9a5d1edb1c3436ab2
vim +/arch_kmap_temporary_high_get +53 arch/arm/include/asm/highmem.h
49
50 #ifdef CONFIG_DEBUG_HIGHMEM
51 extern void *arch_kmap_temporary_high_get(struct page *page);
52 #else
53 static inline void *arch_kmap_temporary_high_get(struct page
*page)
54 {
55 return kmap_high_get(page);
56 }
57 #endif /* !CONFIG_DEBUG_HIGHMEM */
58
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org