All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Fri, 02 Jul 2021 02:05:51 +0800	[thread overview]
Message-ID: <202107020245.pqxY5IXp-lkp@intel.com> (raw)

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

                 reply	other threads:[~2021-07-01 18:05 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=202107020245.pqxY5IXp-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.