public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrew Scull <ascull@google.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Marc Zyngier <maz@kernel.org>
Subject: arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous prototype for 'handle_trap'
Date: Wed, 3 Feb 2021 01:33:34 +0800	[thread overview]
Message-ID: <202102030129.KF44EG2N-lkp@intel.com> (raw)

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

Hi Andrew,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   88bb507a74ea7d75fa49edd421eaa710a7d80598
commit: 4e3393a969a0bdaae83263918b6824b2d08c3996 KVM: arm64: nVHE: Switch to hyp context for EL2
date:   5 months ago
config: arm64-randconfig-r024-20210202 (attached as .config)
compiler: aarch64-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4e3393a969a0bdaae83263918b6824b2d08c3996
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4e3393a969a0bdaae83263918b6824b2d08c3996
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous prototype for 'handle_trap' [-Wmissing-prototypes]
      18 | void handle_trap(struct kvm_cpu_context *host_ctxt)
         |      ^~~~~~~~~~~


vim +/handle_trap +18 arch/arm64/kvm/hyp/nvhe/hyp-main.c

    14	
    15	typedef unsigned long (*hypcall_fn_t)
    16		(unsigned long, unsigned long, unsigned long);
    17	
  > 18	void handle_trap(struct kvm_cpu_context *host_ctxt)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38750 bytes --]

             reply	other threads:[~2021-02-02 17:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02 17:33 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-01  8:22 arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous prototype for 'handle_trap' kernel test robot
2021-01-14  4:59 kernel test robot

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=202102030129.KF44EG2N-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ascull@google.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox