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]
Message-ID: <202109290537.AhkAk5gB-lkp@intel.com>
Date:   Wed, 29 Sep 2021 05:43:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [dhowells-fs:swap-dio 2/9] fs/fat/inode.c:354:2: error: member
 reference base type 'sector_t (struct address_space *, sector_t)' (aka
 'unsigned long long (struct address_space *, unsigned long long)') is not a
 structure or union

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git swap-dio
head:   705b6cfdaad1c83615b91f81a59c946ccba5fb5f
commit: d4af67cd798d2b9a628bd685d6a8ce16592af48b [2/9] mm: Add 'supports' field to the address_space_operations to list features
config: hexagon-randconfig-r045-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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/dhowells/linux-fs.git/commit/?id=d4af67cd798d2b9a628bd685d6a8ce16592af48b
        git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
        git fetch --no-tags dhowells-fs swap-dio
        git checkout d4af67cd798d2b9a628bd685d6a8ce16592af48b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon 

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/fat/inode.c:354:2: error: member reference base type 'sector_t (struct address_space *, sector_t)' (aka 'unsigned long long (struct address_space *, unsigned long long)') is not a structure or union
           .supports       = AS_SUPPORTS_DIRECT_IO,
           ^~~~~~~~~
   1 error generated.


vim +354 fs/fat/inode.c

   343	
   344	static const struct address_space_operations fat_aops = {
   345		.set_page_dirty	= __set_page_dirty_buffers,
   346		.readpage	= fat_readpage,
   347		.readahead	= fat_readahead,
   348		.writepage	= fat_writepage,
   349		.writepages	= fat_writepages,
   350		.write_begin	= fat_write_begin,
   351		.write_end	= fat_write_end,
   352		.direct_IO	= fat_direct_IO,
   353		.bmap		= _fat_bmap
 > 354		.supports	= AS_SUPPORTS_DIRECT_IO,
   355	};
   356	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ