All of lore.kernel.org
 help / color / mirror / Atom feed
* [joro:sev-es-client-tip 36/75] arch/x86/kernel/head64.c:389:20: error: conflicting types for 'early_make_pgtable'
@ 2020-07-21 11:55 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-21 11:55 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git sev-es-client-tip
head:   930a5888b97023e3bc1e3ca50074356b3ce23718
commit: b92776535e948f1631735a891918ad3e43e04563 [36/75] x86/head/64: Move early exception dispatch to C code
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
        git checkout b92776535e948f1631735a891918ad3e43e04563
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> arch/x86/kernel/head64.c:389:20: error: conflicting types for 'early_make_pgtable'
     389 | static bool __init early_make_pgtable(unsigned long address)
         |                    ^~~~~~~~~~~~~~~~~~
   In file included from arch/x86/kernel/head64.c:28:
   arch/x86/include/asm/setup.h:52:12: note: previous declaration of 'early_make_pgtable' was here
      52 | extern int early_make_pgtable(unsigned long address);
         |            ^~~~~~~~~~~~~~~~~~
   arch/x86/kernel/head64.c:399:13: warning: no previous prototype for 'do_early_exception' [-Wmissing-prototypes]
     399 | void __init do_early_exception(struct pt_regs *regs, int trapnr)
         |             ^~~~~~~~~~~~~~~~~~

vim +/early_make_pgtable +389 arch/x86/kernel/head64.c

   388	
 > 389	static bool __init early_make_pgtable(unsigned long address)
   390	{
   391		unsigned long physaddr = address - __PAGE_OFFSET;
   392		pmdval_t pmd;
   393	
   394		pmd = (physaddr & PMD_MASK) + early_pmd_flags;
   395	
   396		return __early_make_pgtable(address, pmd);
   397	}
   398	

---
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: 50007 bytes --]

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

only message in thread, other threads:[~2020-07-21 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21 11:55 [joro:sev-es-client-tip 36/75] arch/x86/kernel/head64.c:389:20: error: conflicting types for 'early_make_pgtable' kernel 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.