Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1209481ybl; Fri, 31 Jan 2020 16:34:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxLIriuhnO9/eYhOMYqHNFSPNXLjLUYMkgg/Z0LlpwOGoutDL4tzVhlaD14bOmoiRD6y4sc X-Received: by 2002:a9d:12f1:: with SMTP id g104mr9200914otg.149.1580517285739; Fri, 31 Jan 2020 16:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580517285; cv=none; d=google.com; s=arc-20160816; b=scG3YaiPTLk94CHFySuh8qnTi/+2ndtDTvWUlV6au9cafHS+1MIzgrKLJ9M58Rjdt/ UgDW9P1p0Q11lIxE+FLDwmGO+kJGwMcIRd7DmpYCY+utUYaWwXKcMDMnlUAPCMY1fEPM D6yBKkMmslMJnOzQuTgCSgRk2CC4tTxHKoujn8LchqqCw2lU/RJjYMA28ejEGoNgyW7r t5kk38kxtvHd353p8pC41KTdu+C1fXfabOLFmk0mrBMTTrpp00+tNyDULUBZs9Lp9o3G xMZHHMfxlyVr0DQx7FyP2Ikr1Xdi6GbN4HWUyFfBfTNounu0520NuqFU+EVHjXaO7j/S 22mA== 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=XWFnSViswuSxS33ude3oGbSpKHsv6VEcFVjkzeqAQls=; b=NJ9P7HIvX2qKkk3WmRi6i2ImEba339CIOdUAFjcIV3LIY5K2q5bVli0qqJI9zqv2mt jcwfkR7W2e8iiS/U4Y/QC7Xd6janISmJZ9iAkyt5cJl0iq9gjwkWqKffy9GqyT6rlog8 CEsqohWFKzpAc6CGgi/uB57kCATp5D6nNb5hVHYY4P8fVqzeDgohkwdafJGD7ygWuOsh tAv4tU8y5otlos1F5jdv7yfRItfnGAcgAqXsv/RyAPMXJO9hecHC4xgRyC2PU8zOhbFh PPpTahRUCKKKKM9EOBUiYJjTgFdtVv/TmWh91sFVSgjF2Lqz3GCEb6q5VDgy/2EIXtkm keSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si5361313oie.196.2020.01.31.16.34.32; Fri, 31 Jan 2020 16:34:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726733AbgBAAcb (ORCPT + 99 others); Fri, 31 Jan 2020 19:32:31 -0500 Received: from fieldses.org ([173.255.197.46]:57216 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726264AbgBAAcb (ORCPT ); Fri, 31 Jan 2020 19:32:31 -0500 Received: by fieldses.org (Postfix, from userid 2815) id A22E12012; Fri, 31 Jan 2020 19:32:30 -0500 (EST) Date: Fri, 31 Jan 2020 19:32:30 -0500 From: "J. Bruce Fields" To: Stephen Rothwell Cc: Andrew Morton , Linux Next Mailing List , Linux Kernel Mailing List , Roberto Bergantinos Corpas , Arnd Bergmann Subject: Re: linux-next: build failure after merge of the akpm-current tree Message-ID: <20200201003230.GA32350@fieldses.org> References: <20200131141309.367c9d8b@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200131141309.367c9d8b@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 31, 2020 at 02:13:09PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the akpm-current tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > net/sunrpc/auth_gss/svcauth_gss.c: In function 'gss_proxy_save_rsc': > net/sunrpc/auth_gss/svcauth_gss.c:1251:19: error: storage size of 'boot' isn't known > 1251 | struct timespec boot; > | ^~~~ > net/sunrpc/auth_gss/svcauth_gss.c:1273:3: error: implicit declaration of function 'getboottime'; did you mean 'getboottime64'? [-Werror=implicit-function-declaration] > 1273 | getboottime(&boot); > | ^~~~~~~~~~~ > | getboottime64 > net/sunrpc/auth_gss/svcauth_gss.c:1251:19: warning: unused variable 'boot' [-Wunused-variable] > 1251 | struct timespec boot; > | ^~~~ > > Caused by commit > > a415f20a18c9 ("sunrpc: expiry_time should be seconds not timeval") > > from the nfsd tree interacting with commits > > de371b6c7b73 ("y2038: remove unused time32 interfaces") > aa7ff200a719 ("y2038: hide timeval/timespec/itimerval/itimerspec types") > > from the akpm-current tree. > > I have reverted the nfsd commit for today. A better solution is requested. Unfortunately that expiry time seems to be a signed 32-bit integer in both the kernel<->gss-proxy and the gss-proxy<->krb5 interfaces. I guess we'll have to come to an agreement with the krb5 developers. Simplest might be to agree that the thing's unsigned. The expiry shouldn't ever need to be decades in the future, so unsigned mod 2^32 arithmetic should work forever. --b.