From: kernel test robot <lkp@intel.com>
To: Hongnan Li <hongnan.li@linux.alibaba.com>,
linux-erofs@lists.ozlabs.org, xiang@kernel.org, chao@kernel.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] erofs: make filesystem exportable
Date: Sun, 24 Apr 2022 22:30:34 +0800 [thread overview]
Message-ID: <202204242236.0aTl5THK-lkp@intel.com> (raw)
In-Reply-To: <20220424130104.102365-1-hongnan.li@linux.alibaba.com>
Hi Hongnan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on xiang-erofs/dev-test]
[also build test WARNING on v5.18-rc3 next-20220422]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Hongnan-Li/erofs-make-filesystem-exportable/20220424-211653
base: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test
config: hexagon-buildonly-randconfig-r005-20220424 (https://download.01.org/0day-ci/archive/20220424/202204242236.0aTl5THK-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1cddcfdc3c683b393df1a5c9063252eb60e52818)
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
# https://github.com/intel-lab-lkp/linux/commit/c0fc15c5ccc4a5090cc32744ba63bde8ea558ac7
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Hongnan-Li/erofs-make-filesystem-exportable/20220424-211653
git checkout c0fc15c5ccc4a5090cc32744ba63bde8ea558ac7
# 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=hexagon SHELL=/bin/bash fs/erofs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> fs/erofs/super.c:601:16: warning: no previous prototype for function 'erofs_get_parent' [-Wmissing-prototypes]
struct dentry *erofs_get_parent(struct dentry *child)
^
fs/erofs/super.c:601:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct dentry *erofs_get_parent(struct dentry *child)
^
static
1 warning generated.
vim +/erofs_get_parent +601 fs/erofs/super.c
600
> 601 struct dentry *erofs_get_parent(struct dentry *child)
602 {
603 erofs_nid_t nid;
604 unsigned int d_type;
605 int err;
606
607 err = erofs_namei(d_inode(child), &dotdot_name, &nid, &d_type);
608 if (err)
609 return ERR_PTR(err);
610 return d_obtain_alias(erofs_iget(child->d_sb, nid, d_type == FT_DIR));
611 }
612
--
0-DAY CI Kernel Test Service
https://01.org/lkp
parent reply other threads:[~2022-04-24 14:30 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20220424130104.102365-1-hongnan.li@linux.alibaba.com>]
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=202204242236.0aTl5THK-lkp@intel.com \
--to=lkp@intel.com \
--cc=chao@kernel.org \
--cc=hongnan.li@linux.alibaba.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=xiang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox