linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [vfs:merge.nfs-fs_parse.1 13/26] fs/nfs/fs_context.c:177:3: error: 'const struct fs_parameter_description' has no member named 'name'
@ 2020-02-06 11:08 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-06 11:08 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: kbuild-all, linux-fsdevel, Al Viro

[-- Attachment #1: Type: text/plain, Size: 2294 bytes --]

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: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.2.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=9.2.0 make.cross ARCH=nds32 

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

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'
     177 |  .name  = "nfs",
         |   ^~~~
>> fs/nfs/fs_context.c:177:11: error: initialization of 'const struct fs_parameter_spec *' from incompatible pointer type 'char *' [-Werror=incompatible-pointer-types]
     177 |  .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@redhat.com>
:::::: CC: Anna Schumaker <Anna.Schumaker@Netapp.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10740 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-06 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 11:08 [vfs:merge.nfs-fs_parse.1 13/26] fs/nfs/fs_context.c:177:3: error: 'const struct fs_parameter_description' has no member named 'name' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).