[vfs:merge.nfs-fs_parse.1 13/26] fs/nfs/fs_context.c:177:11: error: initialization from incompatible pointer type

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git merge.nfs-fs_parse.1
head:   7a53c2012d523b81902e4c7dbd5bc171f91ee125
commit: 7984d6fd4bd61472532addd4fa247775b353fcc5 [13/26] fs_parser: remove fs_parameter_description name field
config: alpha-defconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 7984d6fd4bd61472532addd4fa247775b353fcc5
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=alpha 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

Note: the vfs/merge.nfs-fs_parse.1 HEAD 7a53c2012d523b81902e4c7dbd5bc171f91ee125 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   fs/nfs/fs_context.c:177:3: error: 'const struct fs_parameter_description' has no member named 'name'
     .name  = "nfs",
      ^~~~
>> fs/nfs/fs_context.c:177:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .name  = "nfs",
              ^~~~~
   fs/nfs/fs_context.c:177:11: note: (near initialization for 'nfs_fs_parameters.specs')
   cc1: some warnings being treated as errors

vim +177 fs/nfs/fs_context.c

9954bf92c0cddd David Howells 2019-12-10  175  
e38bb238ed8ce2 Scott Mayhew  2019-12-10  176  static const struct fs_parameter_description nfs_fs_parameters = {
e38bb238ed8ce2 Scott Mayhew  2019-12-10 @177  	.name		= "nfs",
e38bb238ed8ce2 Scott Mayhew  2019-12-10  178  	.specs		= nfs_param_specs,
9954bf92c0cddd David Howells 2019-12-10  179  };
9954bf92c0cddd David Howells 2019-12-10  180  

:::::: The code at line 177 was first introduced by commit
:::::: e38bb238ed8ce280a217629294ba51dc217c5a2c NFS: Convert mount option parsing to use functionality from fs_parser.h

:::::: TO: Scott Mayhew <smayhew@xxxxxxxxxx>
:::::: CC: Anna Schumaker <Anna.Schumaker@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux