All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	"Darrick J. Wong" <darrick.wong@oracle.com>,
	linux-kernel@vger.kernel.org
Subject: [djwong-xfs:zero-initialize-pmem 128/309] fs/xfs/libxfs/xfs_imeta.c:80:1: error: unused function 'xfs_imeta_path_check'
Date: Sat, 18 Sep 2021 14:10:20 +0800	[thread overview]
Message-ID: <202109181457.b95r75l9-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1784 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git zero-initialize-pmem
head:   f712bfd382f71deb666686b6d969dc10592e7d79
commit: f8bff4818f00c161b751b3f5b24b15bcb43860a7 [128/309] xfs: create imeta abstractions to get and set metadata inodes
config: i386-buildonly-randconfig-r004-20210918 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=f8bff4818f00c161b751b3f5b24b15bcb43860a7
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs zero-initialize-pmem
        git checkout f8bff4818f00c161b751b3f5b24b15bcb43860a7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/xfs/libxfs/xfs_imeta.c:80:1: error: unused function 'xfs_imeta_path_check' [-Werror,-Wunused-function]
   xfs_imeta_path_check(
   ^
   1 error generated.


vim +/xfs_imeta_path_check +80 fs/xfs/libxfs/xfs_imeta.c

    77	
    78	/* Is this path ok? */
    79	static inline bool
  > 80	xfs_imeta_path_check(
    81		const struct xfs_imeta_path	*path)
    82	{
    83		return true;
    84	}
    85	

---
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: 46521 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [djwong-xfs:zero-initialize-pmem 128/309] fs/xfs/libxfs/xfs_imeta.c:80:1: error: unused function 'xfs_imeta_path_check'
Date: Sat, 18 Sep 2021 14:10:20 +0800	[thread overview]
Message-ID: <202109181457.b95r75l9-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git zero-initialize-pmem
head:   f712bfd382f71deb666686b6d969dc10592e7d79
commit: f8bff4818f00c161b751b3f5b24b15bcb43860a7 [128/309] xfs: create imeta abstractions to get and set metadata inodes
config: i386-buildonly-randconfig-r004-20210918 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=f8bff4818f00c161b751b3f5b24b15bcb43860a7
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs zero-initialize-pmem
        git checkout f8bff4818f00c161b751b3f5b24b15bcb43860a7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/xfs/libxfs/xfs_imeta.c:80:1: error: unused function 'xfs_imeta_path_check' [-Werror,-Wunused-function]
   xfs_imeta_path_check(
   ^
   1 error generated.


vim +/xfs_imeta_path_check +80 fs/xfs/libxfs/xfs_imeta.c

    77	
    78	/* Is this path ok? */
    79	static inline bool
  > 80	xfs_imeta_path_check(
    81		const struct xfs_imeta_path	*path)
    82	{
    83		return true;
    84	}
    85	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 46521 bytes --]

             reply	other threads:[~2021-09-18  6:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-18  6:10 kernel test robot [this message]
2021-09-18  6:10 ` [djwong-xfs:zero-initialize-pmem 128/309] fs/xfs/libxfs/xfs_imeta.c:80:1: error: unused function 'xfs_imeta_path_check' kernel test robot

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=202109181457.b95r75l9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=darrick.wong@oracle.com \
    --cc=djwong@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /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.