All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 3126/3539] arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup'
@ 2020-08-26 21:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-26 21:49 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f37be72473a007d5d66c52f6cdf43fc8c0961f95
commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [3126/3539] RISC-V: Add early ioremap support
config: riscv-randconfig-r033-20200826 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 7cfcecece0e0430937cf529ce74d3a071a4dedc6)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        git checkout 3d109b0e0949bfd68cc00ffa9d78186fab037bc1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror,-Wimplicit-function-declaration]
           early_ioremap_setup();
           ^
   1 error generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
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: 28908 bytes --]

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

only message in thread, other threads:[~2020-08-26 21:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 21:49 [linux-next:master 3126/3539] arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' 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.