From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.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
Date: Wed, 29 Sep 2021 05:43:45 +0800 [thread overview]
Message-ID: <202109290537.AhkAk5gB-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23725 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.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
Date: Wed, 29 Sep 2021 05:43:45 +0800 [thread overview]
Message-ID: <202109290537.AhkAk5gB-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2209 bytes --]
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@intel.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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23725 bytes --]
next reply other threads:[~2021-09-28 21:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 21:43 kernel test robot [this message]
2021-09-28 21:43 ` [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 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=202109290537.AhkAk5gB-lkp@intel.com \
--to=lkp@intel.com \
--cc=dhowells@redhat.com \
--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.