From: kernel test robot <lkp@intel.com>
To: Kassey Li <quic_yingangl@quicinc.com>,
akpm@linux-foundation.org, vbabka@kernel.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
minchan@kernel.org, iamjoonsoo.kim@lge.com,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
quic_yingangl@quicinc.com
Subject: Re: [PATCH v2] mm/page_owner.c: add llseek for page_owner
Date: Thu, 28 Jul 2022 20:57:49 +0800 [thread overview]
Message-ID: <202207282029.T2NTavCf-lkp@intel.com> (raw)
In-Reply-To: <20220727125508.5154-1-quic_yingangl@quicinc.com>
Hi Kassey,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Kassey-Li/mm-page_owner-c-add-llseek-for-page_owner/20220727-205617
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
config: arm64-randconfig-r025-20220727 (https://download.01.org/0day-ci/archive/20220728/202207282029.T2NTavCf-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/5533df4120ec1703df71542154e8c5b0b21ddb10
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Kassey-Li/mm-page_owner-c-add-llseek-for-page_owner/20220727-205617
git checkout 5533df4120ec1703df71542154e8c5b0b21ddb10
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> mm/page_owner.c:573:8: warning: no previous prototype for function 'llseek_page_owner' [-Wmissing-prototypes]
loff_t llseek_page_owner(struct file *file, loff_t offset, int whence)
^
mm/page_owner.c:573:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
loff_t llseek_page_owner(struct file *file, loff_t offset, int whence)
^
static
1 warning generated.
vim +/llseek_page_owner +573 mm/page_owner.c
572
> 573 loff_t llseek_page_owner(struct file *file, loff_t offset, int whence)
574 {
575 loff_t retval = 0;
576 switch (whence) {
577 case SEEK_CUR:
578 case SEEK_SET:
579 file->f_pos = offset;
580 break;
581 default:
582 retval = -ENXIO;
583 }
584
585 return retval;
586 }
587
--
0-DAY CI Kernel Test Service
https://01.org/lkp
prev parent reply other threads:[~2022-07-28 12:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-27 12:55 [PATCH v2] mm/page_owner.c: add llseek for page_owner Kassey Li
2022-07-28 12:57 ` kernel test robot [this message]
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=202207282029.T2NTavCf-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=iamjoonsoo.kim@lge.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=minchan@kernel.org \
--cc=quic_yingangl@quicinc.com \
--cc=vbabka@kernel.org \
/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.