Re: [PATCH v7 03/16] virt: geniezone: Add GenieZone hypervisor driver

From: kernel test robot
Date: Thu Nov 16 2023 - 17:36:13 EST


Hi Yi-De,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.7-rc1 next-20231116]
[cannot apply to arm64/for-next/core robh/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Yi-De-Wu/docs-geniezone-Introduce-GenieZone-hypervisor/20231116-233442
base: linus/master
patch link: https://lore.kernel.org/r/20231116152756.4250-4-yi-de.wu%40mediatek.com
patch subject: [PATCH v7 03/16] virt: geniezone: Add GenieZone hypervisor driver
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20231117/202311170638.aouOEHi7-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231117/202311170638.aouOEHi7-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311170638.aouOEHi7-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a0' not described in 'gzvm_hypcall_wrapper'
>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a1' not described in 'gzvm_hypcall_wrapper'
>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a2' not described in 'gzvm_hypcall_wrapper'
>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a3' not described in 'gzvm_hypcall_wrapper'
>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a4' not described in 'gzvm_hypcall_wrapper'
>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a5' not described in 'gzvm_hypcall_wrapper'
>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a6' not described in 'gzvm_hypcall_wrapper'
>> arch/arm64/geniezone/vm.c:25: warning: Function parameter or member 'a7' not described in 'gzvm_hypcall_wrapper'


vim +25 arch/arm64/geniezone/vm.c

12
13 /**
14 * gzvm_hypcall_wrapper() - the wrapper for hvc calls
15 * @a0-a7: arguments passed in registers 0 to 7
16 * @res: result values from registers 0 to 3
17 *
18 * Return: The wrapper helps caller to convert geniezone errno to Linux errno.
19 */
20 int gzvm_hypcall_wrapper(unsigned long a0, unsigned long a1,
21 unsigned long a2, unsigned long a3,
22 unsigned long a4, unsigned long a5,
23 unsigned long a6, unsigned long a7,
24 struct arm_smccc_res *res)
> 25 {
26 arm_smccc_hvc(a0, a1, a2, a3, a4, a5, a6, a7, res);
27 return gzvm_err_to_errno(res->a0);
28 }
29

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