lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 18 Sep 2021 16:29:47 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Darrick J. Wong" <djwong@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        linux-kernel@...r.kernel.org
Subject: [djwong-xfs:zero-initialize-pmem 196/309] fs/xfs/xfs_trace.c:44:1:
 error: unused function 'xfs_btree_crack_agno_opdev'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git zero-initialize-pmem
head:   f712bfd382f71deb666686b6d969dc10592e7d79
commit: e6f089b0fbe14a417feecac395659e10224a7441 [196/309] xfs: widen xfs_rmap_irec fields to handle realtime rmapbt
config: x86_64-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=e6f089b0fbe14a417feecac395659e10224a7441
        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 e6f089b0fbe14a417feecac395659e10224a7441
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> fs/xfs/xfs_trace.c:44:1: error: unused function 'xfs_btree_crack_agno_opdev' [-Werror,-Wunused-function]
   xfs_btree_crack_agno_opdev(
   ^
   1 error generated.


vim +/xfs_btree_crack_agno_opdev +44 fs/xfs/xfs_trace.c

    42	
    43	static inline void
  > 44	xfs_btree_crack_agno_opdev(
    45		struct xfs_btree_cur	*cur,
    46		xfs_agnumber_t		*agno,
    47		dev_t			*opdev)
    48	{
    49		if (cur->bc_flags & XFS_BTREE_ROOT_IN_INODE) {
    50			*agno = 0;
    51			*opdev = cur->bc_mp->m_rtdev_targp->bt_dev;
    52		} else {
    53			*agno = cur->bc_ag.pag->pag_agno;
    54			*opdev = cur->bc_mp->m_super->s_dev;
    55		}
    56	}
    57	

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

Download attachment ".config.gz" of type "application/gzip" (44213 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ