lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Sun, 7 Jan 2024 11:50:21 +0800
From: kernel test robot <lkp@...el.com>
To: Marc Zyngier <maz@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: arch/arm64/kvm/vgic/vgic-its.c:2071: warning: Excess function
 parameter 'its' description in 'int'

Hi Marc,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   52b1853b080a082ec3749c3a9577f6c71b1d4a90
commit: 9ed24f4b712b855dcf7be3025b75b051cb73a2b7 KVM: arm64: Move virt/kvm/arm to arch/arm64
date:   3 years, 8 months ago
config: arm64-randconfig-r016-20230905 (https://download.01.org/0day-ci/archive/20240107/202401071101.7C316Nvo-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240107/202401071101.7C316Nvo-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401071101.7C316Nvo-lkp@intel.com/

All warnings (new ones prefixed by >>):

   arch/arm64/kvm/vgic/vgic-its.c:174: warning: Function parameter or member 'save_tables' not described in 'vgic_its_abi'
   arch/arm64/kvm/vgic/vgic-its.c:2071: warning: Function parameter or member 'entry_fn_t' not described in 'int'
>> arch/arm64/kvm/vgic/vgic-its.c:2071: warning: Excess function parameter 'its' description in 'int'
>> arch/arm64/kvm/vgic/vgic-its.c:2071: warning: Excess function parameter 'id' description in 'int'
>> arch/arm64/kvm/vgic/vgic-its.c:2071: warning: Excess function parameter 'entry' description in 'int'
>> arch/arm64/kvm/vgic/vgic-its.c:2071: warning: Excess function parameter 'opaque' description in 'int'
   arch/arm64/kvm/vgic/vgic-its.c:2090: warning: Function parameter or member 'opaque' not described in 'scan_its_table'
   arch/arm64/kvm/vgic/vgic-its.c:2125: warning: Function parameter or member 'its' not described in 'vgic_its_save_ite'
   arch/arm64/kvm/vgic/vgic-its.c:2125: warning: Function parameter or member 'dev' not described in 'vgic_its_save_ite'
   arch/arm64/kvm/vgic/vgic-its.c:2125: warning: Function parameter or member 'ite' not described in 'vgic_its_save_ite'
   arch/arm64/kvm/vgic/vgic-its.c:2125: warning: Function parameter or member 'gpa' not described in 'vgic_its_save_ite'
   arch/arm64/kvm/vgic/vgic-its.c:2125: warning: Function parameter or member 'ite_esz' not described in 'vgic_its_save_ite'
   arch/arm64/kvm/vgic/vgic-its.c:2146: warning: Function parameter or member 'its' not described in 'vgic_its_restore_ite'
   arch/arm64/kvm/vgic/vgic-its.c:2270: warning: Function parameter or member 'dte_esz' not described in 'vgic_its_save_dte'
   arch/arm64/kvm/vgic/vgic-its.c:2353: warning: Function parameter or member 'its' not described in 'vgic_its_save_device_tables'
   arch/arm64/kvm/vgic/vgic-its.c:2423: warning: Function parameter or member 'its' not described in 'vgic_its_restore_device_tables'
   arch/arm64/kvm/vgic/vgic-its.c:2503: warning: Function parameter or member 'its' not described in 'vgic_its_save_collection_table'
   arch/arm64/kvm/vgic/vgic-its.c:2544: warning: Function parameter or member 'its' not described in 'vgic_its_restore_collection_table'
   arch/arm64/kvm/vgic/vgic-its.c:2578: warning: Function parameter or member 'its' not described in 'vgic_its_save_tables_v0'
   arch/arm64/kvm/vgic/vgic-its.c:2594: warning: Function parameter or member 'its' not described in 'vgic_its_restore_tables_v0'


vim +2071 arch/arm64/kvm/vgic/vgic-its.c

920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2059  
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2060  /**
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2061   * entry_fn_t - Callback called on a table entry restore path
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2062   * @its: its handle
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2063   * @id: id of the entry
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2064   * @entry: pointer to the entry
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2065   * @opaque: pointer to an opaque data
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2066   *
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2067   * Return: < 0 on error, 0 if last element was identified, id offset to next
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2068   * element otherwise
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2069   */
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2070  typedef int (*entry_fn_t)(struct vgic_its *its, u32 id, void *entry,
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08 @2071  			  void *opaque);
920a7a8fa92ae0 virt/kvm/arm/vgic/vgic-its.c Eric Auger 2017-02-08  2072  

:::::: The code at line 2071 was first introduced by commit
:::::: 920a7a8fa92ae0ec73c4f6d6f15c01f86017f20d KVM: arm64: vgic-its: Add infrastructure for table lookup

:::::: TO: Eric Auger <eric.auger@...hat.com>
:::::: CC: Christoffer Dall <cdall@...aro.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ