Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp125995ybl; Mon, 12 Aug 2019 13:00:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmpN/QlLjj2X6kJsVm/tfwyTxj7VhM0qEEhsw/e/zZbaiPIqPobJxdOe1GBePwjiyFSPUj X-Received: by 2002:a17:902:381:: with SMTP id d1mr33695809pld.331.1565640004325; Mon, 12 Aug 2019 13:00:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565640004; cv=none; d=google.com; s=arc-20160816; b=cW1khCqmGTlwDiANJl4AwJG6yl7IvLxtSzV7nZ0m8HClUU7T/U1gAoS2t8O9owmIx2 tBU8b9bo8nYRWQgGUsIwP9Fsue4o0m4aneYXRV/xqOIdoJ/sdS1AdP17rmbfAtJgd+ix usI3c0bGn8qBUt8OF89236PmLPJ5uu/GIZ2+QuU7ouuSvvHLUY9yrdMzLEdtUJJ4hJtE Ytm+IVp0uEAtISy+ec3o0k5ZrxV1ULm8J+jE7vvnvOA7GOneWpzQuDIElBIsb8pxsQvK 8PigGz7LDq2MKNhxIpceLesOsN3bNBz0x0NmwssV5i94OacuLmWJ3HAgfMBNAStbCGbu V6lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+RZLKmOCphtajLbvGRh0zBhCvqWpatBvb3U4HsFwIeg=; b=Xf71gt+xuwjm3ET8Up4JeZwldua1ov+BvpM/Sh44wu4r7c9DBUxnTjkermSLLhz8a0 9LPkXZwP3yOLpN5RGUQGHFMkGJDxKW7WkQJFvD9TSF2atya6hPknjLiraEvVr2NwnXuk AkBAxth/l/tFK5mJP83Qvdd1X9s+x6ZfnC3Tnk6lbQm7IbdZ0F31bEvl/tEmVkfkMe2/ rh+4wbAH78AFZICMr8S6YNigAz4rKtMwH0cc/NWOtnnGwbQCN4t9j1nZkzVFb8N38Lif YfaTfcyB1uZBpTGspBi7ACQzu8po487E7feDoJiBf1dQucOv858MSpttaZNnbo3B9b3m /LYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t135si63119753pfc.251.2019.08.12.12.59.40; Mon, 12 Aug 2019 13:00:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727072AbfHLT6C (ORCPT + 99 others); Mon, 12 Aug 2019 15:58:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60948 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbfHLT6C (ORCPT ); Mon, 12 Aug 2019 15:58:02 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1EF363061424; Mon, 12 Aug 2019 19:58:02 +0000 (UTC) Received: from parsley.fieldses.org (ovpn-122-197.rdu2.redhat.com [10.10.122.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id DA2FA5792; Mon, 12 Aug 2019 19:58:01 +0000 (UTC) Received: by parsley.fieldses.org (Postfix, from userid 2815) id 3AB98180A60; Mon, 12 Aug 2019 15:58:01 -0400 (EDT) Date: Mon, 12 Aug 2019 15:58:01 -0400 From: "J. Bruce Fields" To: Olga Kornievskaia Cc: linux-nfs Subject: Re: [PATCH v5 1/9] NFSD fill-in netloc4 structure Message-ID: <20190812195801.GA29812@parsley.fieldses.org> References: <20190808201848.36640-2-olga.kornievskaia@gmail.com> <201908111349.HDWO4xNv%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Mon, 12 Aug 2019 19:58:02 +0000 (UTC) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Aug 12, 2019 at 12:12:33PM -0400, Olga Kornievskaia wrote: > Hi Bruce, > > I believe I'm getting this because as it has been before NFSD patches > depend on client-side patches (or specifically) it needed > https://patchwork.kernel.org/patch/10649667/ > > I should have included the patch in both the client and server patch > series. How should I correct this? > > Also, in general (to run things) nfsd patches need the client side > patches to be functional destination server (destination server nfs > client piece). I think I'd just sent it all as one series. You can note in the cover letter that the first X patches are for the client and the rest for the server, if you'd like. --b. > On Sun, Aug 11, 2019 at 1:49 AM kbuild test robot wrote: > > > > Hi Olga, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on nfsd/nfsd-next] > > [cannot apply to v5.3-rc3 next-20190809] > > [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/Olga-Kornievskaia/server-side-support-for-inter-SSC-copy/20190811-120551 > > base: git://linux-nfs.org/~bfields/linux.git nfsd-next > > config: x86_64-lkp (attached as .config) > > compiler: gcc-7 (Debian 7.4.0-10) 7.4.0 > > reproduce: > > # save the attached .config to linux build tree > > make ARCH=x86_64 > > > > If you fix the issue, kindly add following tag > > Reported-by: kbuild test robot > > > > All error/warnings (new ones prefixed by >>): > > > > In file included from fs/nfsd/state.h:42:0, > > from fs/nfsd/trace.h:128, > > from fs/nfsd/trace.c:3: > > >> fs/nfsd/nfsd.h:391:16: warning: 'struct nfs42_netaddr' declared inside parameter list will not be visible outside of this definition or declaration > > struct nfs42_netaddr *netaddr) > > ^~~~~~~~~~~~~ > > fs/nfsd/nfsd.h: In function 'nfsd4_set_netaddr': > > >> fs/nfsd/nfsd.h:401:18: error: dereferencing pointer to incomplete type 'struct nfs42_netaddr' > > sprintf(netaddr->netid, "tcp"); > > ^~ > > > > vim +401 fs/nfsd/nfsd.h > > > > 389 > > 390 static inline u32 nfsd4_set_netaddr(struct sockaddr *addr, > > > 391 struct nfs42_netaddr *netaddr) > > 392 { > > 393 struct sockaddr_in *sin = (struct sockaddr_in *)addr; > > 394 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)addr; > > 395 unsigned int port; > > 396 size_t ret_addr, ret_port; > > 397 > > 398 switch (addr->sa_family) { > > 399 case AF_INET: > > 400 port = ntohs(sin->sin_port); > > > 401 sprintf(netaddr->netid, "tcp"); > > 402 netaddr->netid_len = 3; > > 403 break; > > 404 case AF_INET6: > > 405 port = ntohs(sin6->sin6_port); > > 406 sprintf(netaddr->netid, "tcp6"); > > 407 netaddr->netid_len = 4; > > 408 break; > > 409 default: > > 410 return nfserr_inval; > > 411 } > > 412 ret_addr = rpc_ntop(addr, netaddr->addr, sizeof(netaddr->addr)); > > 413 ret_port = snprintf(netaddr->addr + ret_addr, > > 414 RPCBIND_MAXUADDRLEN + 1 - ret_addr, > > 415 ".%u.%u", port >> 8, port & 0xff); > > 416 WARN_ON(ret_port >= RPCBIND_MAXUADDRLEN + 1 - ret_addr); > > 417 netaddr->addr_len = ret_addr + ret_port; > > 418 return 0; > > 419 } > > 420 > > > > --- > > 0-DAY kernel test infrastructure Open Source Technology Center > > https://lists.01.org/pipermail/kbuild-all Intel Corporation