arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f7757129e3dea336c407551c98f50057c22bb266 commit: e7e0545299d8cb0fd6fe3ba50401b7f5c3937362 x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections date: 2 years, 9 months ago config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230822/[email protected]/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230822/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric' >> arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'high' not described in 'sgx_calc_section_metric'
vim +124 arch/x86/kernel/cpu/sgx/main.c
117
118 /**
119 * A section metric is concatenated in a way that @low bits 12-31 define the
120 * bits 12-31 of the metric and @high bits 0-19 define the bits 32-51 of the
121 * metric.
122 */
123 static inline u64 __init sgx_calc_section_metric(u64 low, u64 high)
> 124 { 125 return (low & GENMASK_ULL(31, 12)) +
126 ((high & GENMASK_ULL(19, 0)) << 32);
127 }
128
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Quoted 28 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f7757129e3dea336c407551c98f50057c22bb266 commit: e7e0545299d8cb0fd6fe3ba50401b7f5c3937362 x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections date: 2 years, 9 months ago config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230822/[email protected]/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230822/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All warnings (new ones prefixed by >>):
Quoted 2 lines
Quoted 2 lines
arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'low' not described in 'sgx_calc_section_metric'arch/x86/kernel/cpu/sgx/main.c:124: warning: Function parameter or member 'high' not described in 'sgx_calc_section_metric'vim +124
arch/x86/kernel/cpu/sgx/main.c117 118 /** 119 * A section metric is concatenated in a way that @low bits 12-31 define the 120 * bits 12-31 of the metric and @high bits 0-19 define the bits 32-51 of the 121 * metric. 122 */ 123 static inline u64 __init sgx_calc_section_metric(u64 low, u64 high)
Quoted 9 lines
Quoted 1 line
124 {
125 return (low &
GENMASK_ULL(31, 12)) +126 ((high & GENMASK_ULL(19, 0)) << 32); 127 } 128Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
https://lkml.org/lkml/2023/8/22/379
BR, Jarkko