Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1507129ybl; Fri, 31 Jan 2020 23:56:27 -0800 (PST) X-Google-Smtp-Source: APXvYqyRaQLXumsilqbJMOK0qa0gWEGl/bqvvxEMWCkNvAD71HG31we09WUP9x/FUJw1MmC4wxeh X-Received: by 2002:a05:6808:2cd:: with SMTP id a13mr8953070oid.82.1580543786268; Fri, 31 Jan 2020 23:56:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580543786; cv=none; d=google.com; s=arc-20160816; b=0FsxmTBpz25lQGp7ht6+gnQOaKh6ldM4vui1jJsihuRglQsBOqxYJptQ72s2XVHuUJ uu6gjNk8pWZ86aMdSJyvu6fA/NfmRTtu0axHXc6115tD1vgzDbHBANksQ8H78+d0Z9Rc L7Xv6e98b45/178lS4M0by8oKtsDB66oWpLfD8UqyrSAyYHqHBTvkl1v3hNtfqX34bRA j0UeMJzjDfZpV9JK1TmdomJ0HwmQehyCE1dbm4tYnE3AcHgtTXnJGBIRzeK4Jo7/6lrG SVZpufK8emSGSs4tYoEz2EPK2vZqv1Poew8jFhmABk1SOM6cNVB3q7+EUhlQfmiyHqlE 8ODw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=O+3DA75UwhlEyT/no3zICkHLxCPKOp/O7fIYaR0Bp/U=; b=t+zD2ZzNPd+/tCU7tncgOOMsdTUYqr7xByAq8Jy+eGeYw4wkvT++N0215ZLOv5ytBn WKSIyQIuODXX3DZ4G0Nhh+y+yEw/fF6Hwc0l0hUAKWf2m6iMRr0I2HfP6VKFyKBFVP0v lSScPkgQlmHw3orR5lVRlPvWVcQhrhc0ACrAceYRafAg3hdDfw28eJYhokq+gTJHeYxw SXkvQSy0IPJoleWAmLFWsFVAUQfcx8kKQKtqqq4EXQ/u0Sx788BYZ2dZRi9A6RM22LTV IKoWnE8tnLAby6cCvkSdeNjlh1GQCSE/rEEDlS+liRinr5h4gCNvoJLIqmlwKdidZRF1 uZeg== 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 m5si199175oie.240.2020.01.31.23.56.13; Fri, 31 Jan 2020 23:56:26 -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 S1726379AbgBAHyU (ORCPT + 99 others); Sat, 1 Feb 2020 02:54:20 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:60447 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbgBAHyU (ORCPT ); Sat, 1 Feb 2020 02:54:20 -0500 Received: from mail-qk1-f182.google.com ([209.85.222.182]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MaIGB-1j0s9f1OCr-00WDRn; Sat, 01 Feb 2020 08:54:18 +0100 Received: by mail-qk1-f182.google.com with SMTP id x1so9033590qkl.12; Fri, 31 Jan 2020 23:54:18 -0800 (PST) X-Gm-Message-State: APjAAAUCkr2U/V42J2Uw4zDUgQYClOJ80jBHIySkWZsOkaqLIsrnkPlZ R1lTiLsQSh1iucH0wDKDc4vO5kH09MINDr2Ets0= X-Received: by 2002:a05:620a:218d:: with SMTP id g13mr14826914qka.286.1580543657085; Fri, 31 Jan 2020 23:54:17 -0800 (PST) MIME-Version: 1.0 References: <20200131141309.367c9d8b@canb.auug.org.au> <20200201003230.GA32350@fieldses.org> In-Reply-To: <20200201003230.GA32350@fieldses.org> From: Arnd Bergmann Date: Sat, 1 Feb 2020 08:54:01 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: linux-next: build failure after merge of the akpm-current tree To: "J. Bruce Fields" Cc: Stephen Rothwell , Andrew Morton , Linux Next Mailing List , Linux Kernel Mailing List , Roberto Bergantinos Corpas Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:97sbIK9+56zG/Pl/3nTMcsLgxkzt6oinf5xBBeBY+HzhdFjjuds T10A21WB/wpUf/dee7ImGAUxbZU0n5dF7ojV770RRHEldaeSjKtnbi0bpqmr+XOkn2Mt+8w SJdyvA+DmFxkg82uGdq+o1QnD860OQyGlfxhe1hMjxeqjpaZQzIV3CT8az0IDJnj82IP4BR dLwFaiINd3Nda61nq88zA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+eeKMtLniI0=:Hd+kkX9vn+/f9dYOSwIIZY g8tkEdQM09OKSu12hduKGNkK6+Wbv3BV9UZFwrynpxosHQVtu4W89QF2CcSGp82ZIFKvZE6IM sqICGz9HGD7FDuQ7LrqM7uuVUbaOwTWdtS2zyKXsBSAmJ0IZSRNbnejpcaP9cpIG/UQN4afs+ mx2oAFQhYhc1LCg88KuoWTiRYKutrqDFU0HFfNEeCOBiZl+J6scgUQhwwc/bcHKIvxTXY8zYu rNjldBBSPb17OHO6RxV61Da5UffgqTF197DG/KOUOOSil/ISwCVURMv8ZQ+mdJMDzmGGvXM76 D9Cxk8/Ueijx3P4oDs7ad4f/B8Rx0pZ+wAm09cK/1AGyJ5a5A6n7FcwOovGWaLpBqn9TSNhf4 k+W4V9m28EB0kpT/iauA3hpmkeXIZWW1lcuWYEhmRqgLGFHNoa+WQCs344DZ8BzNSgV61afOD 677S3RkunFcY4FlWFobdq4jD9ya6I/rKx4QgNrtuOfwxIdkB2H/J/+mY1gi9mPzxCAic485xq J2TIiP+6PENVHa+LEQAf2D0E3vPlgA35gVT4TWUNRfvC+8OwP7bx5/Y0yqt/fnMlul2ku1jt1 gdls5SXhRJI/y91pNdANsEoumH9do3dmSU8MN7asn/CD5Ezm11/axYTpBs4PcdeDU0pOXc0dj GrhH8awS3ObjXhyhTuNa8WCVF2wukbD0u9CXqaJxJmrNEvWsC1AQ7GTTuo5fq7Ccxq4+lTTXP scCoQaTfv58JJbu+YxNiPevVWPcRSfFQ1fnO1ynOJ738EFJQl8XtHy3lW/7BEDnhG1CdO3t/j lSa9Bz6kENLruAalNLqJt/EC8XBJQgAAdJuNNbaMJvbo/gjzX8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 1, 2020 at 1:32 AM J. Bruce Fields wrote: > > 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") This commit uses the now-removed 'struct timespec' type and 'getboottime()' function, so to fix the compilation error, the 64-bit replacements need to e used as described in Documentation/core-api/timekeeping.rst > > 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. Can you be more specific which interface you are referring to? My change to gss_import_v1_context() is now part of mainline as of 294ec5b87a8a ("sunrpc: convert to time64_t for expiry"), is anything else needed there? Arnd