All of lore.kernel.org
 help / color / mirror / Atom feed
* [dax:headers 5/11] include/linux/highmem.h:83:9: error: implicit declaration of function 'page_address'; did you mean 'parse_args'?
@ 2020-03-20 12:48 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-20 12:48 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2955 bytes --]

tree:   git://git.infradead.org/users/willy/linux-dax.git headers
head:   5a5ea1767a1c4e0b7f42cbfa9c41f5805cecfa77
commit: 7bbb0ccd2172f64cf0cfbd4079853df66286d774 [5/11] arch: Remove pagemap.h from arch include files
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout 7bbb0ccd2172f64cf0cfbd4079853df66286d774
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from arch/x86/include/asm/pgtable.h:5:0,
                    from include/linux/mm.h:94,
                    from include/linux/memcontrol.h:20,
                    from include/linux/swap.h:9,
                    from include/linux/suspend.h:5,
                    from arch/x86/kernel/asm-offsets.c:13:
   include/linux/highmem.h: In function 'kmap':
>> include/linux/highmem.h:83:9: error: implicit declaration of function 'page_address'; did you mean 'parse_args'? [-Werror=implicit-function-declaration]
     return page_address(page);
            ^~~~~~~~~~~~
            parse_args
>> include/linux/highmem.h:83:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
     return page_address(page);
            ^~~~~~~~~~~~~~~~~~
   include/linux/highmem.h: In function 'kmap_atomic':
   include/linux/highmem.h:94:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
     return page_address(page);
            ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
   make[2]: *** [scripts/Makefile.build:101: arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1113: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:180: sub-make] Error 2
   16 real  3 user  4 sys  46.62% cpu 	make prepare

vim +83 include/linux/highmem.h

c1f60a5a419cc6 Christoph Lameter 2006-09-25  78  
a6ca1b99ed434f James Bottomley   2006-09-25  79  #ifndef ARCH_HAS_KMAP
^1da177e4c3f41 Linus Torvalds    2005-04-16  80  static inline void *kmap(struct page *page)
^1da177e4c3f41 Linus Torvalds    2005-04-16  81  {
^1da177e4c3f41 Linus Torvalds    2005-04-16  82  	might_sleep();
^1da177e4c3f41 Linus Torvalds    2005-04-16 @83  	return page_address(page);
^1da177e4c3f41 Linus Torvalds    2005-04-16  84  }
^1da177e4c3f41 Linus Torvalds    2005-04-16  85  

:::::: The code at line 83 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 7246 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-20 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20 12:48 [dax:headers 5/11] include/linux/highmem.h:83:9: error: implicit declaration of function 'page_address'; did you mean 'parse_args'? kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.