* [openeuler:openEuler-1.0-LTS 1743/1743] fs/proc/vmcore.c:183:1: warning: no previous prototype for 'copy_oldmem_page_encrypted'
@ 2025-08-04 22:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-04 22:34 UTC (permalink / raw)
To: kernel, Xie XiuQi; +Cc: oe-kbuild-all
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@intel.com/config)
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@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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-04 22:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-04 22:34 [openeuler:openEuler-1.0-LTS 1743/1743] fs/proc/vmcore.c:183:1: warning: no previous prototype for 'copy_oldmem_page_encrypted' 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.