All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android14-6.1 240/258] arch/arm64/kvm/hyp/nvhe/serial.c:41:6: warning: no previous prototype for 'hyp_puts'
@ 2023-02-02 10:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-02 10:34 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

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

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

only message in thread, other threads:[~2023-02-02 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02 10:34 [android-common:android14-6.1 240/258] arch/arm64/kvm/hyp/nvhe/serial.c:41:6: warning: no previous prototype for 'hyp_puts' 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.