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]
Date:   Wed, 13 Oct 2021 08:09:53 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [dhowells-fs:fscache-rewrite-indexing 61/80] fs/afs/write.c:26:
 undefined reference to `fscache_set_page_dirty'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-rewrite-indexing
head:   5914ee72cd59ac43f27adae6340e8219592462d5
commit: 7fc886b896abeed2560da268c703bb6af87c8e89 [61/80] afs: Copy local writes to the cache when writing to the server
config: x86_64-randconfig-a001-20211012 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=7fc886b896abeed2560da268c703bb6af87c8e89
        git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
        git fetch --no-tags dhowells-fs fscache-rewrite-indexing
        git checkout 7fc886b896abeed2560da268c703bb6af87c8e89
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

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 >>):

   ld: fs/afs/write.o: in function `afs_set_page_dirty':
>> fs/afs/write.c:26: undefined reference to `fscache_set_page_dirty'
   ld: fs/afs/write.o: in function `fscache_clear_page_bits':
>> include/linux/fscache.h:563: undefined reference to `__fscache_clear_page_bits'
   ld: fs/afs/write.o: in function `fscache_write_to_cache':
>> include/linux/fscache.h:595: undefined reference to `__fscache_write_to_cache'


vim +26 fs/afs/write.c

    16	
    17	static void afs_write_to_cache(struct afs_vnode *vnode, loff_t start, size_t len,
    18				       loff_t i_size);
    19	
    20	/*
    21	 * Mark a page as having been made dirty and thus needing writeback.  We also
    22	 * need to pin the cache object to write back to.
    23	 */
    24	int afs_set_page_dirty(struct page *page)
    25	{
  > 26		return fscache_set_page_dirty(page, afs_vnode_cache(AFS_FS_I(page->mapping->host)));
    27	}
    28	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ