linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Cc: kbuild-all@01.org, trond.myklebust@primarydata.com,
	linux-nfs@vger.kernel.org,
	Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Subject: Re: [PATCH] pnfs support servers with multiple layout types
Date: Wed, 2 Mar 2016 20:47:39 +0800	[thread overview]
Message-ID: <201603022028.aKNyWLPX%fengguang.wu@intel.com> (raw)
In-Reply-To: <1456920492-22533-1-git-send-email-tigran.mkrtchyan@desy.de>

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

Hi Tigran,

[auto build test WARNING on v4.5-rc6]
[also build test WARNING on next-20160302]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Tigran-Mkrtchyan/pnfs-support-servers-with-multiple-layout-types/20160302-201105
config: m68k-sun3_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

   fs/nfs/nfs4proc.c: In function 'nfs4_proc_fsinfo':
>> fs/nfs/nfs4proc.c:4232:3: warning: passing argument 3 of 'set_pnfs_layoutdriver' makes integer from pointer without a cast
      set_pnfs_layoutdriver(server, fhandle, fsinfo->layouttype);
      ^
   In file included from fs/nfs/nfs4proc.c:64:0:
   fs/nfs/pnfs.h:657:20: note: expected 'u32' but argument is of type '__u32 *'
    static inline void set_pnfs_layoutdriver(struct nfs_server *s,
                       ^

vim +/set_pnfs_layoutdriver +4232 fs/nfs/nfs4proc.c

83ca7f5a Chuck Lever     2013-03-16  4216  			break;
83ca7f5a Chuck Lever     2013-03-16  4217  		}
83ca7f5a Chuck Lever     2013-03-16  4218  		err = nfs4_handle_exception(server, err, &exception);
^1da177e Linus Torvalds  2005-04-16  4219  	} while (exception.retry);
^1da177e Linus Torvalds  2005-04-16  4220  	return err;
^1da177e Linus Torvalds  2005-04-16  4221  }
^1da177e Linus Torvalds  2005-04-16  4222  
^1da177e Linus Torvalds  2005-04-16  4223  static int nfs4_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo)
^1da177e Linus Torvalds  2005-04-16  4224  {
e38eb650 Bryan Schumaker 2012-06-20  4225  	int error;
e38eb650 Bryan Schumaker 2012-06-20  4226  
0e574af1 Trond Myklebust 2005-10-27  4227  	nfs_fattr_init(fsinfo->fattr);
e38eb650 Bryan Schumaker 2012-06-20  4228  	error = nfs4_do_fsinfo(server, fhandle, fsinfo);
dc182549 Peng Tao        2012-08-24  4229  	if (error == 0) {
dc182549 Peng Tao        2012-08-24  4230  		/* block layout checks this! */
dc182549 Peng Tao        2012-08-24  4231  		server->pnfs_blksize = fsinfo->blksize;
e38eb650 Bryan Schumaker 2012-06-20 @4232  		set_pnfs_layoutdriver(server, fhandle, fsinfo->layouttype);
dc182549 Peng Tao        2012-08-24  4233  	}
e38eb650 Bryan Schumaker 2012-06-20  4234  
e38eb650 Bryan Schumaker 2012-06-20  4235  	return error;
^1da177e Linus Torvalds  2005-04-16  4236  }
^1da177e Linus Torvalds  2005-04-16  4237  
^1da177e Linus Torvalds  2005-04-16  4238  static int _nfs4_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle,
^1da177e Linus Torvalds  2005-04-16  4239  		struct nfs_pathconf *pathconf)
^1da177e Linus Torvalds  2005-04-16  4240  {

:::::: The code at line 4232 was first introduced by commit
:::::: e38eb6506ff426a2bb93433fecfcc863a95fcd03 NFS: set_pnfs_layoutdriver() from nfs4_proc_fsinfo()

:::::: TO: Bryan Schumaker <bjschuma@netapp.com>
:::::: CC: Trond Myklebust <Trond.Myklebust@netapp.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 11191 bytes --]

  reply	other threads:[~2016-03-02 12:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 12:08 [PATCH] pnfs support servers with multiple layout types Tigran Mkrtchyan
2016-03-02 12:47 ` kbuild test robot [this message]
2016-03-02 13:57 ` Tigran Mkrtchyan
2016-03-02 16:37   ` Christoph Hellwig
2016-03-02 19:22     ` Mkrtchyan, Tigran
2016-03-03 13:50     ` Mkrtchyan, Tigran
  -- strict thread matches above, loose matches on Subject: below --
2015-09-22 13:45 Tigran Mkrtchyan
2015-09-22 22:31 ` Trond Myklebust
2015-09-23  6:38   ` Mkrtchyan, Tigran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201603022028.aKNyWLPX%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=tigran.mkrtchyan@desy.de \
    --cc=trond.myklebust@primarydata.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).