[PATCH] Add flags option to get xattr method paired to __vfs_getxattr

kbuild test robot lkp at intel.com
Tue Aug 13 08:28:45 UTC 2019


Hi Mark,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Mark-Salyzyn/Add-flags-option-to-get-xattr-method-paired-to-__vfs_getxattr/20190813-124612
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> fs/ubifs/xattr.c:699:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get = xattr_get,
            ^~~~~~~~~
   fs/ubifs/xattr.c:699:9: note: (near initialization for 'ubifs_user_xattr_handler.get')
   fs/ubifs/xattr.c:705:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get = xattr_get,
            ^~~~~~~~~
   fs/ubifs/xattr.c:705:9: note: (near initialization for 'ubifs_trusted_xattr_handler.get')
   fs/ubifs/xattr.c:712:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get = xattr_get,
            ^~~~~~~~~
   fs/ubifs/xattr.c:712:9: note: (near initialization for 'ubifs_security_xattr_handler.get')
   cc1: some warnings being treated as errors
--
>> drivers/staging//erofs/xattr.c:492:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get = erofs_xattr_generic_get,
            ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/staging//erofs/xattr.c:492:9: note: (near initialization for 'erofs_xattr_user_handler.get')
   drivers/staging//erofs/xattr.c:499:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get = erofs_xattr_generic_get,
            ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/staging//erofs/xattr.c:499:9: note: (near initialization for 'erofs_xattr_trusted_handler.get')
   drivers/staging//erofs/xattr.c:506:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get = erofs_xattr_generic_get,
            ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/staging//erofs/xattr.c:506:9: note: (near initialization for 'erofs_xattr_security_handler.get')
   cc1: some warnings being treated as errors
--
>> fs//afs/xattr.c:156:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get    = afs_xattr_get_acl,
               ^~~~~~~~~~~~~~~~~
   fs//afs/xattr.c:156:12: note: (near initialization for 'afs_xattr_afs_acl_handler.get')
   fs//afs/xattr.c:327:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .get = afs_xattr_get_yfs,
            ^~~~~~~~~~~~~~~~~
   fs//afs/xattr.c:327:9: note: (near initialization for 'afs_xattr_yfs_handler.get')
   cc1: some warnings being treated as errors

vim +699 fs/ubifs/xattr.c

2b88fc21cae91e Andreas Gruenbacher 2016-04-22  696  
dfaf8d2aeca482 Ben Dooks           2016-06-21  697  static const struct xattr_handler ubifs_user_xattr_handler = {
2b88fc21cae91e Andreas Gruenbacher 2016-04-22  698  	.prefix = XATTR_USER_PREFIX,
ade46c3a6029de Richard Weinberger  2016-09-19 @699  	.get = xattr_get,
ade46c3a6029de Richard Weinberger  2016-09-19  700  	.set = xattr_set,
2b88fc21cae91e Andreas Gruenbacher 2016-04-22  701  };
2b88fc21cae91e Andreas Gruenbacher 2016-04-22  702  

:::::: The code at line 699 was first introduced by commit
:::::: ade46c3a6029dea49dbc6c7734b0f6a78d3f104c ubifs: Export xattr get and set functions

:::::: TO: Richard Weinberger <richard at nod.at>
:::::: CC: Richard Weinberger <richard at nod.at>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 49672 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190813/a756bd63/config.gz>


More information about the samba-technical mailing list