All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org, Xie XiuQi <xiexiuqi@huawei.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:openEuler-1.0-LTS 1743/1743] fs/proc/vmcore.c:183:1: warning: no previous prototype for 'copy_oldmem_page_encrypted'
Date: Tue, 5 Aug 2025 00:34:17 +0200	[thread overview]
Message-ID: <202508050002.tGJgi27V-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-08-04 22:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202508050002.tGJgi27V-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kernel@openeuler.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=xiexiuqi@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.