tree:
https://github.com/weiny2/linux-kernel.git lm-misc6
head: 67e55d6e4b04dc6944e07283404465b8d04c1b88
commit: 963afc15064156e5fb5cc1568d467b3b1d4178cc [2/9] fs: Move swap_[de]activate to
file_operations
config: i386-debian-10.3 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 963afc15064156e5fb5cc1568d467b3b1d4178cc
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> fs/cifs/file.c:4883:3: error: 'const struct
address_space_operations' has no member named 'swap_activate'
.swap_activate = cifs_swap_activate,
^~~~~~~~~~~~~
> fs/cifs/file.c:4883:19: error: initialization from incompatible
pointer type [-Werror=incompatible-pointer-types]
.swap_activate =
cifs_swap_activate,
^~~~~~~~~~~~~~~~~~
fs/cifs/file.c:4883:19: note: (near initialization for
'cifs_addr_ops.is_partially_uptodate')
> fs/cifs/file.c:4884:3: error: 'const struct
address_space_operations' has no member named 'swap_deactivate'
.swap_deactivate = cifs_swap_deactivate,
^~~~~~~~~~~~~~~
fs/cifs/file.c:4884:21: error: initialization from incompatible pointer type
[-Werror=incompatible-pointer-types]
.swap_deactivate = cifs_swap_deactivate,
^~~~~~~~~~~~~~~~~~~~
fs/cifs/file.c:4884:21: note: (near initialization for
'cifs_addr_ops.is_dirty_writeback')
cc1: some warnings being treated as errors
vim +4883 fs/cifs/file.c
dca692880e8877 Steve French 2013-11-11 4865
f5e54d6e53a20c Christoph Hellwig 2006-06-28 4866 const struct address_space_operations
cifs_addr_ops = {
^1da177e4c3f41 Linus Torvalds 2005-04-16 4867 .readpage = cifs_readpage,
^1da177e4c3f41 Linus Torvalds 2005-04-16 4868 .readpages = cifs_readpages,
^1da177e4c3f41 Linus Torvalds 2005-04-16 4869 .writepage = cifs_writepage,
37c0eb4677f733 Steve French 2005-10-05 4870 .writepages = cifs_writepages,
d9414774dc0c7b Nick Piggin 2008-09-24 4871 .write_begin = cifs_write_begin,
d9414774dc0c7b Nick Piggin 2008-09-24 4872 .write_end = cifs_write_end,
^1da177e4c3f41 Linus Torvalds 2005-04-16 4873 .set_page_dirty =
__set_page_dirty_nobuffers,
85f2d6b44d7e83 Suresh Jayaraman 2010-07-05 4874 .releasepage = cifs_release_page,
dca692880e8877 Steve French 2013-11-11 4875 .direct_IO = cifs_direct_io,
85f2d6b44d7e83 Suresh Jayaraman 2010-07-05 4876 .invalidatepage =
cifs_invalidate_page,
9ad1506b42c828 Pavel Shilovsky 2011-04-08 4877 .launder_page = cifs_launder_page,
4e8aea30f7751c Steve French 2020-04-09 4878 /*
4e8aea30f7751c Steve French 2020-04-09 4879 * TODO: investigate and if useful we
could add an cifs_migratePage
4e8aea30f7751c Steve French 2020-04-09 4880 * helper (under an CONFIG_MIGRATION)
in the future, and also
4e8aea30f7751c Steve French 2020-04-09 4881 * investigate and add an
is_dirty_writeback helper if needed
4e8aea30f7751c Steve French 2020-04-09 4882 */
4e8aea30f7751c Steve French 2020-04-09 @4883 .swap_activate = cifs_swap_activate,
4e8aea30f7751c Steve French 2020-04-09 @4884 .swap_deactivate =
cifs_swap_deactivate,
^1da177e4c3f41 Linus Torvalds 2005-04-16 4885 };
273d81d6ada951 Dave Kleikamp 2006-06-01 4886
:::::: The code at line 4883 was first introduced by commit
:::::: 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3 smb3: enable swap on SMB3 mounts
:::::: TO: Steve French <stfrench(a)microsoft.com>
:::::: CC: Steve French <stfrench(a)microsoft.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org