All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12 21/21] arch/arm64/kvm/mmu.c:305:1: warning: no previous prototype for function 'kvm_pinned_pages_insert'
Date: Tue, 14 Jan 2025 21:07:46 +0800	[thread overview]
Message-ID: <202501142136.SCAqd2YD-lkp@intel.com> (raw)

tree:   https://android.googlesource.com/kernel/common android16-6.12
head:   f22b02c4734528b9236a218ade97555cfae01fbf
commit: 6cf1f36e41a79cd8275eab61d29ad30219b60047 [21/21] ANDROID: KVM: Use interval-tree for kvm_pinned_page
config: arm64-randconfig-001-20250114 (https://download.01.org/0day-ci/archive/20250114/202501142136.SCAqd2YD-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250114/202501142136.SCAqd2YD-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501142136.SCAqd2YD-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/mmu.c:305:1: warning: no previous prototype for function 'kvm_pinned_pages_insert' [-Wmissing-prototypes]
     305 | INTERVAL_TREE_DEFINE(struct kvm_pinned_page, node, u64, __subtree_last,
         | ^
   include/linux/interval_tree_generic.h:38:15: note: expanded from macro 'INTERVAL_TREE_DEFINE'
      38 | ITSTATIC void ITPREFIX ## _insert(ITSTRUCT *node,                             \
         |               ^
   <scratch space>:73:1: note: expanded from here
      73 | kvm_pinned_pages_insert
         | ^
   arch/arm64/kvm/mmu.c:305:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   include/linux/interval_tree_generic.h:38:10: note: expanded from macro 'INTERVAL_TREE_DEFINE'
      38 | ITSTATIC void ITPREFIX ## _insert(ITSTRUCT *node,                             \
         |          ^
   arch/arm64/kvm/mmu.c:1842:14: warning: variable 'ipa' set but not used [-Wunused-but-set-variable]
    1842 |         phys_addr_t ipa = fault_ipa;
         |                     ^
   2 warnings generated.


vim +/kvm_pinned_pages_insert +305 arch/arm64/kvm/mmu.c

   304	
 > 305	INTERVAL_TREE_DEFINE(struct kvm_pinned_page, node, u64, __subtree_last,
   306			     __pinned_page_start, __pinned_page_end, /* emtpy */,
   307			     kvm_pinned_pages);
   308	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-01-14 13:08 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=202501142136.SCAqd2YD-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.