All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [riscv:for-next 2/7] arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup'
Date: Wed, 26 Aug 2020 09:54:27 +0800	[thread overview]
Message-ID: <202008260925.LOI9tRNQ%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next
head:   f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781
commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Add early ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-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 3d109b0e0949bfd68cc00ffa9d78186fab037bc1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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/riscv/kernel/setup.c: In function 'setup_arch':
>> arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-function-declaration]
      74 |  early_ioremap_setup();
         |  ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

# https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/commit/?id=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout 3d109b0e0949bfd68cc00ffa9d78186fab037bc1
vim +/early_ioremap_setup +74 arch/riscv/kernel/setup.c

    63	
    64	void __init setup_arch(char **cmdline_p)
    65	{
    66		parse_dtb();
    67		init_mm.start_code = (unsigned long) _stext;
    68		init_mm.end_code   = (unsigned long) _etext;
    69		init_mm.end_data   = (unsigned long) _edata;
    70		init_mm.brk        = (unsigned long) _end;
    71	
    72		*cmdline_p = boot_command_line;
    73	
  > 74		early_ioremap_setup();
    75		parse_early_param();
    76	
    77		setup_bootmem();
    78		paging_init();
    79	#if IS_ENABLED(CONFIG_BUILTIN_DTB)
    80		unflatten_and_copy_device_tree();
    81	#else
    82		if (early_init_dt_verify(__va(dtb_early_pa)))
    83			unflatten_device_tree();
    84		else
    85			pr_err("No DTB found in kernel mappings\n");
    86	#endif
    87	

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

             reply	other threads:[~2020-08-26  1:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-26  1:54 kernel test robot [this message]
     [not found] <cc16602c65aac43e60336c8122f1e7169bd5c1eb.camel@wdc.com>
2020-08-28  7:19 ` [riscv:for-next 2/7] arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' Rong Chen
2020-08-28 16:53   ` Atish Patra
2020-08-31  2:39     ` Rong Chen
2020-08-31  4:06       ` Atish Patra
2020-09-16 22:30         ` Atish Patra
2020-09-17  3:09           ` Rong Chen
2020-09-17  3:33             ` Atish Patra

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=202008260925.LOI9tRNQ%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.