Return-Path: Received: from mga03.intel.com ([134.134.136.65]:3956 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751729AbeBVBoy (ORCPT ); Wed, 21 Feb 2018 20:44:54 -0500 Date: Thu, 22 Feb 2018 09:51:23 +0800 From: Philip Li To: NeilBrown Cc: kbuild test robot , linux-nfs@vger.kernel.org, Trond Myklebust , kbuild-all@01.org, Anna Schumaker Subject: Re: [kbuild-all] [PATCH 19/23] NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. Message-ID: <20180222015123.GA14244@intel.com> References: <151901654943.17421.16135174786512989263.stgit@noble> <201802192252.Y6fdV4Fk%fengguang.wu@intel.com> <87woz8jz0g.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <87woz8jz0g.fsf@notabene.neil.brown.name> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, Feb 20, 2018 at 11:17:03AM +1100, NeilBrown wrote: > On Mon, Feb 19 2018, kbuild test robot wrote: > > > Hi NeilBrown, > > > > Thank you for the patch! Perhaps something to improve: > > > > [auto build test WARNING on nfs/linux-next] > > [also build test WARNING on v4.16-rc2 next-20180219] > > [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/NeilBrown/Remove-generic-rpc-credentials-and-associated-changed-V3/20180219-190836 > > base: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next > > reproduce: > > # apt-get install sparse > > make ARCH=x86_64 allmodconfig > > make C=1 CF=-D__CHECK_ENDIAN__ > > > > > > sparse warnings: (new ones prefixed by >>) > > > >>> fs/nfs/flexfilelayout/flexfilelayout.c:517:40: sparse: incorrect type in initializer (different address spaces) @@ expected struct cred const @@ got cred const @@ > > fs/nfs/flexfilelayout/flexfilelayout.c:517:40: expected struct cred const > > fs/nfs/flexfilelayout/flexfilelayout.c:517:40: got struct cred const Documentation Kbuild Kconfig Makefile certs drivers firmware fs include samples scripts sound tools cred > > Hi Mr Robot :-) > It looks like you have some strange wild-card expansion happening here. > I think the above should be > > fs/nfs/flexfilelayout/flexfilelayout.c:517:40: got struct cred const * cred thanks for pointing this out, we will fix it. > > Even after correcting the that, I cannot see what the different address > spaces are that might be a problem. > Does anyone have any ideas? > > Thanks, > NeilBrown > _______________________________________________ > kbuild-all mailing list > kbuild-all@lists.01.org > https://lists.01.org/mailman/listinfo/kbuild-all