* [hnaz-linux-mm:master 231/464] arch/x86/include/asm/highmem.h:71:21: error: static declaration of 'kmap_atomic_high' follows non-static declaration
@ 2020-05-09 9:24 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-09 9:24 UTC (permalink / raw)
To: Ira Weiny
Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3198 bytes --]
tree: https://github.com/hnaz/linux-mm master
head: 6a76dec06156195d9c1d6eb75b87b37d40479fc8
commit: 61df64ad3bc454db50814473ffd5d9ae10838ed8 [231/464] arch/kmap_atomic: consolidate duplicate code
config: i386-randconfig-a001-20200509 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 61df64ad3bc454db50814473ffd5d9ae10838ed8
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
Note: the hnaz-linux-mm/master HEAD 6a76dec06156195d9c1d6eb75b87b37d40479fc8 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from include/linux/highmem.h:36:0,
from include/linux/pagemap.h:11,
from include/linux/blkdev.h:16,
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 include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
>> arch/x86/include/asm/highmem.h:71:21: error: static declaration of 'kmap_atomic_high' follows non-static declaration
static inline void *kmap_atomic_high(struct page *page)
^~~~~~~~~~~~~~~~
In file included from include/linux/pagemap.h:11:0,
from include/linux/blkdev.h:16,
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 include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
include/linux/highmem.h:35:14: note: previous declaration of 'kmap_atomic_high' was here
extern void *kmap_atomic_high(struct page *page);
^~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:100: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1141: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
vim +/kmap_atomic_high +71 arch/x86/include/asm/highmem.h
60
61 extern void *kmap_atomic_high_prot(struct page *page, pgprot_t prot);
62 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot)
63 {
64 preempt_disable();
65 pagefault_disable();
66 if (!PageHighMem(page))
67 return page_address(page);
68
69 return kmap_atomic_high_prot(page, prot);
70 }
> 71 static inline void *kmap_atomic_high(struct page *page)
72 {
73 return kmap_atomic_high_prot(page, kmap_prot);
74 }
75 void __kunmap_atomic(void *kvaddr);
76 void *kmap_atomic_pfn(unsigned long pfn);
77 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
78
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33629 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-09 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 9:24 [hnaz-linux-mm:master 231/464] arch/x86/include/asm/highmem.h:71:21: error: static declaration of 'kmap_atomic_high' follows non-static declaration kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).