
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: ba07135cf74b1424e2f7f0c60e59c5b206ab320c commit: e4590de4701ee3ee748058abf7b4e9492fa2b4a9 [1743/1743] proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted() config: x86_64-buildonly-randconfig-2004-20250802 (https://download.01.org/0day-ci/archive/20250805/202508050002.tGJgi27V-lkp@i...) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250805/202508050002.tGJgi27V-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202508050002.tGJgi27V-lkp@intel.com/ All warnings (new ones prefixed by >>):
fs/proc/vmcore.c:183:1: warning: no previous prototype for 'copy_oldmem_page_encrypted' [-Wmissing-prototypes] 183 | copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fs/proc/vmcore.c:441: warning: Function parameter or member 'size' not described in 'vmcore_alloc_buf' fs/proc/vmcore.c:441: warning: Excess function parameter 'sizez' description in 'vmcore_alloc_buf'
vim +/copy_oldmem_page_encrypted +183 fs/proc/vmcore.c 178 179 /* 180 * Architectures which support memory encryption override this. 181 */ 182 ssize_t __weak
183 copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, 184 unsigned long offset, int userbuf) 185 { 186 return copy_oldmem_page(pfn, buf, csize, offset, userbuf); 187 } 188
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki