All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [joro:sev-es-client-tip 36/75] arch/x86/kernel/head64.c:389:20: error: conflicting types for 'early_make_pgtable'
Date: Tue, 21 Jul 2020 19:55:32 +0800	[thread overview]
Message-ID: <202007211928.030KWCWC%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-07-21 11:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202007211928.030KWCWC%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.