* [android-common:upstream-f2fs-stable-linux-5.4.y 665/676] fs/ubifs/file.c:1644:54: error: too many arguments to function call, expected 4, have 5
@ 2021-11-18 23:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-18 23:01 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3958 bytes --]
tree: https://android.googlesource.com/kernel/common upstream-f2fs-stable-linux-5.4.y
head: 0de6dec9da87fd1c8b99ad0643dab94f8a332004
commit: 0e764ea6471e002f101dd7726b6e97f0e55c2288 [665/676] ubifs: report correct st_size for encrypted symlinks
config: x86_64-randconfig-a004-20211118 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a)
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
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common upstream-f2fs-stable-linux-5.4.y
git checkout 0e764ea6471e002f101dd7726b6e97f0e55c2288
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/ubifs/
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/ubifs/file.c:1644:54: error: too many arguments to function call, expected 4, have 5
ubifs_getattr(mnt_userns, path, stat, request_mask, query_flags);
~~~~~~~~~~~~~ ^~~~~~~~~~~
fs/ubifs/ubifs.h:1997:5: note: 'ubifs_getattr' declared here
int ubifs_getattr(const struct path *path, struct kstat *stat,
^
>> fs/ubifs/file.c:1676:17: error: incompatible function pointer types initializing 'int (*)(const struct path *, struct kstat *, u32, unsigned int)' (aka 'int (*)(const struct path *, struct kstat *, unsigned int, unsigned int)') with an expression of type 'int (struct user_namespace *, const struct path *, struct kstat *, u32, unsigned int)' (aka 'int (struct user_namespace *, const struct path *, struct kstat *, unsigned int, unsigned int)') [-Werror,-Wincompatible-function-pointer-types]
.getattr = ubifs_symlink_getattr,
^~~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +1644 fs/ubifs/file.c
1639
1640 static int ubifs_symlink_getattr(struct user_namespace *mnt_userns,
1641 const struct path *path, struct kstat *stat,
1642 u32 request_mask, unsigned int query_flags)
1643 {
> 1644 ubifs_getattr(mnt_userns, path, stat, request_mask, query_flags);
1645
1646 if (IS_ENCRYPTED(d_inode(path->dentry)))
1647 return fscrypt_symlink_getattr(path, stat);
1648 return 0;
1649 }
1650
1651 const struct address_space_operations ubifs_file_address_operations = {
1652 .readpage = ubifs_readpage,
1653 .writepage = ubifs_writepage,
1654 .write_begin = ubifs_write_begin,
1655 .write_end = ubifs_write_end,
1656 .invalidatepage = ubifs_invalidatepage,
1657 .set_page_dirty = ubifs_set_page_dirty,
1658 #ifdef CONFIG_MIGRATION
1659 .migratepage = ubifs_migrate_page,
1660 #endif
1661 .releasepage = ubifs_releasepage,
1662 };
1663
1664 const struct inode_operations ubifs_file_inode_operations = {
1665 .setattr = ubifs_setattr,
1666 .getattr = ubifs_getattr,
1667 #ifdef CONFIG_UBIFS_FS_XATTR
1668 .listxattr = ubifs_listxattr,
1669 #endif
1670 .update_time = ubifs_update_time,
1671 };
1672
1673 const struct inode_operations ubifs_symlink_inode_operations = {
1674 .get_link = ubifs_get_link,
1675 .setattr = ubifs_setattr,
> 1676 .getattr = ubifs_symlink_getattr,
1677 #ifdef CONFIG_UBIFS_FS_XATTR
1678 .listxattr = ubifs_listxattr,
1679 #endif
1680 .update_time = ubifs_update_time,
1681 };
1682
---
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: 37425 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-18 23:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 23:01 [android-common:upstream-f2fs-stable-linux-5.4.y 665/676] fs/ubifs/file.c:1644:54: error: too many arguments to function call, expected 4, have 5 kernel test robot
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.