From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android14-6.1 240/258] arch/arm64/kvm/hyp/nvhe/serial.c:41:6: warning: no previous prototype for 'hyp_puts'
Date: Thu, 2 Feb 2023 18:34:26 +0800 [thread overview]
Message-ID: <202302021811.PakRA4XL-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android14-6.1
head: b2487c5b2bdbac887caa086038f90c88f31f30af
commit: b21ae4963d0d204a1405c4aedd76eb01cd79dfdd [240/258] ANDROID: KVM: arm64: Add serial framework for pKVM
config: arm64-buildonly-randconfig-r005-20230130 (https://download.01.org/0day-ci/archive/20230202/202302021811.PakRA4XL-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.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 android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android14-6.1
git checkout b21ae4963d0d204a1405c4aedd76eb01cd79dfdd
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/hyp/nvhe/serial.c:41:6: warning: no previous prototype for 'hyp_puts' [-Wmissing-prototypes]
41 | void hyp_puts(const char *s)
| ^~~~~~~~
>> arch/arm64/kvm/hyp/nvhe/serial.c:53:6: warning: no previous prototype for 'hyp_putx64' [-Wmissing-prototypes]
53 | void hyp_putx64(u64 x)
| ^~~~~~~~~~
>> arch/arm64/kvm/hyp/nvhe/serial.c:59:6: warning: no previous prototype for 'hyp_putc' [-Wmissing-prototypes]
59 | void hyp_putc(char c)
| ^~~~~~~~
>> arch/arm64/kvm/hyp/nvhe/serial.c:65:5: warning: no previous prototype for '__pkvm_register_serial_driver' [-Wmissing-prototypes]
65 | int __pkvm_register_serial_driver(void (*cb)(char))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/hyp_puts +41 arch/arm64/kvm/hyp/nvhe/serial.c
40
> 41 void hyp_puts(const char *s)
42 {
43 if (!hyp_serial_enabled())
44 return;
45
46 while (*s)
47 __hyp_putc(*s++);
48
49 __hyp_putc('\n');
50 __hyp_putc('\r');
51 }
52
> 53 void hyp_putx64(u64 x)
54 {
55 if (hyp_serial_enabled())
56 __hyp_putx4n(x, 64);
57 }
58
> 59 void hyp_putc(char c)
60 {
61 if (hyp_serial_enabled())
62 __hyp_putc(c);
63 }
64
> 65 int __pkvm_register_serial_driver(void (*cb)(char))
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-02-02 10:35 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=202302021811.PakRA4XL-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.