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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107202200.XCQinfVK-lkp@intel.com>
Date:   Tue, 20 Jul 2021 22:13:23 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Darrick J. Wong" <djwong@...nel.org>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        linux-kernel@...r.kernel.org
Subject: [djwong-xfs:scrub-drain-intents 311/311] fs/xfs/xfs_mount.h:425:3:
 error: implicit declaration of function 'xfs_rt_bump_intents'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git scrub-drain-intents
head:   674a3454cd9d70a84b90f6874236e08a186e35d2
commit: 674a3454cd9d70a84b90f6874236e08a186e35d2 [311/311] xfs: allow queued AG intents to drain before scrubbing
config: x86_64-randconfig-r016-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=674a3454cd9d70a84b90f6874236e08a186e35d2
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs scrub-drain-intents
        git checkout 674a3454cd9d70a84b90f6874236e08a186e35d2
        # 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@...el.com>

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_trace.c:13:
>> fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_bump_intents(mp);
                   ^
>> fs/xfs/xfs_mount.h:434:3: error: implicit declaration of function 'xfs_rt_drop_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_drop_intents(mp);
                   ^
   2 errors generated.
--
   In file included from fs/xfs/xfs_log_recover.c:14:
>> fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_bump_intents(mp);
                   ^
>> fs/xfs/xfs_mount.h:434:3: error: implicit declaration of function 'xfs_rt_drop_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_drop_intents(mp);
                   ^
   fs/xfs/xfs_log_recover.c:3557:12: warning: variable 'freeblks' set but not used [-Wunused-but-set-variable]
           uint64_t                freeblks;
                                   ^
   fs/xfs/xfs_log_recover.c:3559:12: warning: variable 'ifree' set but not used [-Wunused-but-set-variable]
           uint64_t                ifree;
                                   ^
   fs/xfs/xfs_log_recover.c:3558:12: warning: variable 'itotal' set but not used [-Wunused-but-set-variable]
           uint64_t                itotal;
                                   ^
   3 warnings and 2 errors generated.
--
   In file included from fs/xfs/xfs_log_recover.c:14:
>> fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_bump_intents(mp);
                   ^
>> fs/xfs/xfs_mount.h:434:3: error: implicit declaration of function 'xfs_rt_drop_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_drop_intents(mp);
                   ^
   fs/xfs/xfs_log_recover.c:3558:12: warning: variable 'itotal' set but not used [-Wunused-but-set-variable]
           uint64_t                itotal;
                                   ^
   fs/xfs/xfs_log_recover.c:3557:12: warning: variable 'freeblks' set but not used [-Wunused-but-set-variable]
           uint64_t                freeblks;
                                   ^
   fs/xfs/xfs_log_recover.c:3559:12: warning: variable 'ifree' set but not used [-Wunused-but-set-variable]
           uint64_t                ifree;
                                   ^
   3 warnings and 2 errors generated.


vim +/xfs_rt_bump_intents +425 fs/xfs/xfs_mount.h

   420	
   421	static inline void
   422	xfs_fs_bump_intents(struct xfs_mount *mp, bool isrt, xfs_fsblock_t fsb)
   423	{
   424		if (isrt)
 > 425			xfs_rt_bump_intents(mp);
   426		else
   427			xfs_ag_bump_intents(mp, XFS_FSB_TO_AGNO(mp, fsb));
   428	}
   429	
   430	static inline void
   431	xfs_fs_drop_intents(struct xfs_mount *mp, bool isrt, xfs_fsblock_t fsb)
   432	{
   433		if (isrt)
 > 434			xfs_rt_drop_intents(mp);
   435		else
   436			xfs_ag_drop_intents(mp, XFS_FSB_TO_AGNO(mp, fsb));
   437	}
   438	

---
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" (46020 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ