All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-4.19 16/20] arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:522:13: error: no previous prototype for 'kvm_arch_mmu_clear_young_walk'
@ 2021-07-01 18:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-01 18:05 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head:   1b8b03e93868a5a01c725d01dc50774854990358
commit: 557151a690f6e1041d8e96fdcb37149d52653d05 [16/20] CHROMIUM: mm: multigenerational lru: scan kvm mmu pages
config: powerpc-pseries_defconfig (attached as .config)
compiler: powerpc64-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 remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-4.19
        git checkout 557151a690f6e1041d8e96fdcb37149d52653d05
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.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,
                    from arch/powerpc/include/asm/book3s/64/mmu.h:30,
                    from arch/powerpc/include/asm/mmu.h:313,
                    from arch/powerpc/include/asm/lppaca.h:36,
                    from arch/powerpc/include/asm/paca.h:21,
                    from arch/powerpc/include/asm/smp.h:28,
                    from include/linux/smp.h:64,
                    from include/linux/percpu.h:7,
                    from include/linux/context_tracking_state.h:5,
                    from include/linux/vtime.h:5,
                    from include/linux/hardirq.h:8,
                    from include/linux/kvm_host.h:10,
                    from arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:22:
   arch/powerpc/include/asm/book3s/64/pgtable.h:1292:15: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
    1292 | static inline const int pud_pfn(pud_t pud)
         |               ^~~~~
   In file included from include/linux/hugetlb.h:454,
                    from arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:51:
   arch/powerpc/include/asm/hugetlb.h: In function 'huge_ptep_clear_flush':
   arch/powerpc/include/asm/hugetlb.h:151:8: error: variable 'pte' set but not used [-Werror=unused-but-set-variable]
     151 |  pte_t pte;
         |        ^~~
   arch/powerpc/kvm/../../../virt/kvm/kvm_main.c: At top level:
>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:522:13: error: no previous prototype for 'kvm_arch_mmu_clear_young_walk' [-Werror=missing-prototypes]
     522 | __weak void kvm_arch_mmu_clear_young_walk(struct kvm *kvm,
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:726:12: error: no previous prototype for 'kvm_arch_post_init_vm' [-Werror=missing-prototypes]
     726 | int __weak kvm_arch_post_init_vm(struct kvm *kvm)
         |            ^~~~~~~~~~~~~~~~~~~~~
   arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:735:13: error: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Werror=missing-prototypes]
     735 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm)
         |             ^~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/kvm_host.h:14,
                    from arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:22:
   include/linux/signal.h: In function 'sigemptyset':
   include/linux/signal.h:180:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
     180 |  case 2: set->sig[1] = 0;
         |          ~~~~~~~~~~~~^~~
   include/linux/signal.h:181:2: note: here
     181 |  case 1: set->sig[0] = 0;
         |  ^~~~
   cc1: all warnings being treated as errors


vim +/kvm_arch_mmu_clear_young_walk +522 arch/powerpc/kvm/../../../virt/kvm/kvm_main.c

   521	
 > 522	__weak void kvm_arch_mmu_clear_young_walk(struct kvm *kvm,
   523						  struct mmu_notifier_walk *walk)
   524	{
   525	}
   526	

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

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

only message in thread, other threads:[~2021-07-01 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-01 18:05 [chrome-os:chromeos-4.19 16/20] arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:522:13: error: no previous prototype for 'kvm_arch_mmu_clear_young_walk' 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.