* [linux-stable-rc:linux-4.14.y 1547/3393] arch/powerpc/kernel/setup_64.c:846:6: error: no previous declaration for 'entry_flush_enable'
@ 2021-06-08 13:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-08 13:58 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4280 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
head: a6b2dae3ee3a3f9f4db3fab5b4b9e493fecf4acd
commit: db01cad9efe3c3838a6b3a3f68affd295c4b92d6 [1547/3393] powerpc/64s: flush L1D on kernel entry
config: powerpc-ps3_defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.5.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
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=db01cad9efe3c3838a6b3a3f68affd295c4b92d6
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.14.y
git checkout db01cad9efe3c3838a6b3a3f68affd295c4b92d6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=powerpc
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 >>):
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:24:0,
from arch/powerpc/include/asm/book3s/64/mmu.h:30,
from arch/powerpc/include/asm/mmu.h:305,
from arch/powerpc/include/asm/lppaca.h:36,
from arch/powerpc/include/asm/paca.h:21,
from arch/powerpc/include/asm/current.h:16,
from include/linux/sched.h:12,
from arch/powerpc/kernel/setup_64.c:17:
arch/powerpc/include/asm/book3s/64/pgtable.h:1218:15: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
static inline const int pud_pfn(pud_t pud)
^~~~~
arch/powerpc/kernel/setup_64.c:133:13: error: no previous declaration for 'check_smt_enabled' [-Werror=missing-declarations]
void __init check_smt_enabled(void)
^~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:273:13: error: no previous declaration for 'early_setup' [-Werror=missing-declarations]
void __init early_setup(unsigned long dt_ptr)
^~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:343:6: error: no previous declaration for 'early_setup_secondary' [-Werror=missing-declarations]
void early_setup_secondary(void)
^~~~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:494:13: error: no previous declaration for 'initialize_cache_info' [-Werror=missing-declarations]
void __init initialize_cache_info(void)
^~~~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:580:13: error: no previous declaration for 'irqstack_early_init' [-Werror=missing-declarations]
void __init irqstack_early_init(void)
^~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:648:13: error: no previous declaration for 'emergency_stack_init' [-Werror=missing-declarations]
void __init emergency_stack_init(void)
^~~~~~~~~~~~~~~~~~~~
>> arch/powerpc/kernel/setup_64.c:846:6: error: no previous declaration for 'entry_flush_enable' [-Werror=missing-declarations]
void entry_flush_enable(bool enable)
^~~~~~~~~~~~~~~~~~
In file included from include/linux/serial_8250.h:14:0,
from arch/powerpc/kernel/setup_64.c:33:
include/linux/serial_core.h:391:19: error: 'earlycon_init_is_deferred' defined but not used [-Werror=unused-const-variable=]
static const bool earlycon_init_is_deferred;
^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/entry_flush_enable +846 arch/powerpc/kernel/setup_64.c
845
> 846 void entry_flush_enable(bool enable)
847 {
848 if (enable) {
849 do_entry_flush_fixups(enabled_flush_types);
850 on_each_cpu(do_nothing, NULL, 1);
851 } else {
852 do_entry_flush_fixups(L1D_FLUSH_NONE);
853 }
854
855 entry_flush = enable;
856 }
857
---
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: 14993 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-08 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 13:58 [linux-stable-rc:linux-4.14.y 1547/3393] arch/powerpc/kernel/setup_64.c:846:6: error: no previous declaration for 'entry_flush_enable' 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.