Re: [PATCH v4 20/20] vfs: Remove {get,set,remove}xattr inode operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andreas,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc3 next-20160822]
[cannot apply to linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Andreas-Gruenbacher/Xattr-inode-operation-removal/20160823-053404
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/staging/lustre/lustre/llite/file.c:3216:2: error: unknown field 'setxattr' specified in initializer
     .setxattr = ll_setxattr,
     ^
   drivers/staging/lustre/lustre/llite/file.c:3216:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .setxattr = ll_setxattr,
                 ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/file.c:3216:14: note: (near initialization for 'll_file_inode_operations.get_acl')
>> drivers/staging/lustre/lustre/llite/file.c:3217:2: error: unknown field 'getxattr' specified in initializer
     .getxattr = ll_getxattr,
     ^
   drivers/staging/lustre/lustre/llite/file.c:3217:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .getxattr = ll_getxattr,
                 ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/file.c:3217:14: note: (near initialization for 'll_file_inode_operations.readlink')
>> drivers/staging/lustre/lustre/llite/file.c:3219:2: error: unknown field 'removexattr' specified in initializer
     .removexattr = ll_removexattr,
     ^
   drivers/staging/lustre/lustre/llite/file.c:3219:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .removexattr = ll_removexattr,
                    ^~~~~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/file.c:3219:17: note: (near initialization for 'll_file_inode_operations.fiemap')
   cc1: some warnings being treated as errors
--
>> drivers/staging/lustre/lustre/llite/namei.c:1104:2: error: unknown field 'setxattr' specified in initializer
     .setxattr    = ll_setxattr,
     ^
   drivers/staging/lustre/lustre/llite/namei.c:1104:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .setxattr    = ll_setxattr,
                    ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/namei.c:1104:17: note: (near initialization for 'll_dir_inode_operations.get_acl')
>> drivers/staging/lustre/lustre/llite/namei.c:1105:2: error: unknown field 'getxattr' specified in initializer
     .getxattr    = ll_getxattr,
     ^
   drivers/staging/lustre/lustre/llite/namei.c:1105:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .getxattr    = ll_getxattr,
                    ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/namei.c:1105:17: note: (near initialization for 'll_dir_inode_operations.readlink')
>> drivers/staging/lustre/lustre/llite/namei.c:1107:2: error: unknown field 'removexattr' specified in initializer
     .removexattr = ll_removexattr,
     ^
   drivers/staging/lustre/lustre/llite/namei.c:1107:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .removexattr = ll_removexattr,
                    ^~~~~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/namei.c:1107:17: note: (near initialization for 'll_dir_inode_operations.fiemap')
   drivers/staging/lustre/lustre/llite/namei.c:1115:2: error: unknown field 'setxattr' specified in initializer
     .setxattr       = ll_setxattr,
     ^
   drivers/staging/lustre/lustre/llite/namei.c:1115:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .setxattr       = ll_setxattr,
                       ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/namei.c:1115:20: note: (near initialization for 'll_special_inode_operations.get_acl')
   drivers/staging/lustre/lustre/llite/namei.c:1116:2: error: unknown field 'getxattr' specified in initializer
     .getxattr       = ll_getxattr,
     ^
   drivers/staging/lustre/lustre/llite/namei.c:1116:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .getxattr       = ll_getxattr,
                       ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/namei.c:1116:20: note: (near initialization for 'll_special_inode_operations.readlink')
   drivers/staging/lustre/lustre/llite/namei.c:1118:2: error: unknown field 'removexattr' specified in initializer
     .removexattr    = ll_removexattr,
     ^
   drivers/staging/lustre/lustre/llite/namei.c:1118:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .removexattr    = ll_removexattr,
                       ^~~~~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/namei.c:1118:20: note: (near initialization for 'll_special_inode_operations.fiemap')
   cc1: some warnings being treated as errors
--
>> drivers/staging/lustre/lustre/llite/symlink.c:158:2: error: unknown field 'setxattr' specified in initializer
     .setxattr = ll_setxattr,
     ^
   drivers/staging/lustre/lustre/llite/symlink.c:158:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .setxattr = ll_setxattr,
                 ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/symlink.c:158:14: note: (near initialization for 'll_fast_symlink_inode_operations.get_acl')
>> drivers/staging/lustre/lustre/llite/symlink.c:159:2: error: unknown field 'getxattr' specified in initializer
     .getxattr = ll_getxattr,
     ^
   drivers/staging/lustre/lustre/llite/symlink.c:159:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .getxattr = ll_getxattr,
                 ^~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/symlink.c:159:14: note: (near initialization for 'll_fast_symlink_inode_operations.readlink')
>> drivers/staging/lustre/lustre/llite/symlink.c:161:2: error: unknown field 'removexattr' specified in initializer
     .removexattr = ll_removexattr,
     ^
   drivers/staging/lustre/lustre/llite/symlink.c:161:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .removexattr = ll_removexattr,
                    ^~~~~~~~~~~~~~
   drivers/staging/lustre/lustre/llite/symlink.c:161:17: note: (near initialization for 'll_fast_symlink_inode_operations.fiemap')
   cc1: some warnings being treated as errors

vim +/setxattr +3216 drivers/staging/lustre/lustre/llite/file.c

d7e09d039 Peng Tao     2013-05-02  3210  };
d7e09d039 Peng Tao     2013-05-02  3211  
d2d32738d Julia Lawall 2015-11-14  3212  const struct inode_operations ll_file_inode_operations = {
d7e09d039 Peng Tao     2013-05-02  3213  	.setattr	= ll_setattr,
d7e09d039 Peng Tao     2013-05-02  3214  	.getattr	= ll_getattr,
d7e09d039 Peng Tao     2013-05-02  3215  	.permission	= ll_inode_permission,
d7e09d039 Peng Tao     2013-05-02 @3216  	.setxattr	= ll_setxattr,
d7e09d039 Peng Tao     2013-05-02 @3217  	.getxattr	= ll_getxattr,
d7e09d039 Peng Tao     2013-05-02  3218  	.listxattr	= ll_listxattr,
d7e09d039 Peng Tao     2013-05-02 @3219  	.removexattr	= ll_removexattr,
89580e379 Peng Tao     2013-11-15  3220  	.fiemap		= ll_fiemap,
d7e09d039 Peng Tao     2013-05-02  3221  	.get_acl	= ll_get_acl,
d7e09d039 Peng Tao     2013-05-02  3222  };

:::::: The code at line 3216 was first introduced by commit
:::::: d7e09d0397e84eefbabfd9cb353221f3c6448d83 staging: add Lustre file system client support

:::::: TO: Peng Tao <bergwolf@xxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Crypto]     [Device Mapper Crypto]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux