From: kernel test robot <lkp@intel.com>
To: Allison Henderson <allison.henderson@oracle.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [allisonhenderson-xfs_work:delayed_attrs_v22_extended 32/32] fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for function 'xfs_init_parent_ptr'
Date: Mon, 26 Jul 2021 11:21:24 +0800 [thread overview]
Message-ID: <202107261122.AKVRFKzd-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3273 bytes --]
tree: https://github.com/allisonhenderson/xfs_work.git delayed_attrs_v22_extended
head: 43a95c4600b7c80ac410a00ac245ccf85b150d26
commit: 43a95c4600b7c80ac410a00ac245ccf85b150d26 [32/32] xfs: Add parent pointer ioctl
config: x86_64-randconfig-a003-20210725 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c63dbd850182797bc4b76124d08e1c320ab2365d)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/allisonhenderson/xfs_work/commit/43a95c4600b7c80ac410a00ac245ccf85b150d26
git remote add allisonhenderson-xfs_work https://github.com/allisonhenderson/xfs_work.git
git fetch --no-tags allisonhenderson-xfs_work delayed_attrs_v22_extended
git checkout 43a95c4600b7c80ac410a00ac245ccf85b150d26
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for function 'xfs_init_parent_ptr' [-Wmissing-prototypes]
xfs_init_parent_ptr(struct xfs_parent_ptr *xpp,
^
fs/xfs/libxfs/xfs_parent.c:37:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
fs/xfs/libxfs/xfs_parent.c:65:1: warning: no previous prototype for function 'xfs_init_parent_name_rec' [-Wmissing-prototypes]
xfs_init_parent_name_rec(
^
fs/xfs/libxfs/xfs_parent.c:64:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
fs/xfs/libxfs/xfs_parent.c:80:1: warning: no previous prototype for function 'xfs_init_parent_name_irec' [-Wmissing-prototypes]
xfs_init_parent_name_irec(
^
fs/xfs/libxfs/xfs_parent.c:79:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
3 warnings generated.
--
>> fs/xfs/xfs_parent_utils.c:42:1: warning: no previous prototype for function 'xfs_attr_get_parent_pointer' [-Wmissing-prototypes]
xfs_attr_get_parent_pointer(struct xfs_inode *ip,
^
fs/xfs/xfs_parent_utils.c:41:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int
^
static
1 warning generated.
vim +/xfs_init_parent_ptr +38 fs/xfs/libxfs/xfs_parent.c
35
36 /* Initializes a xfs_parent_ptr from an xfs_parent_name_rec */
37 void
> 38 xfs_init_parent_ptr(struct xfs_parent_ptr *xpp,
39 struct xfs_parent_name_rec *rec)
40 {
41 xpp->xpp_ino = be64_to_cpu(rec->p_ino);
42 xpp->xpp_gen = be32_to_cpu(rec->p_gen);
43 xpp->xpp_diroffset = be32_to_cpu(rec->p_diroffset);
44 }
45
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35814 bytes --]
reply other threads:[~2021-07-26 3:22 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=202107261122.AKVRFKzd-lkp@intel.com \
--to=lkp@intel.com \
--cc=allison.henderson@oracle.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.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